I\'m fairly new to threading, and I am trying to adapt some code I already have to make it threadsafe. My problem is that I have multiple threads accessing multiple methods of a