Howdy,
I'm working on a game with two asynchronous threads that are always running. One is the game another is a tracking application. The two have a small amount of information that needs to be communicated between them. I'm passing this information by having one thread directly access the objects in the other thread and visa versa. I realize this is not the correct way to handle this.
My game runs fine except for on semi-random intervals the frame rate drops significantly. I think the problem might be related to the way I'm handling these threads. Does this seem like a possible symptom of poor multi-threading practices? If so where I can I learn about better ways to deal with this issue?
Thanks