I have a threadded server application.
Once my server accepts a connection, a
thread is started to work on the client data, while the server returns to accept futher connections.
This is working pretty well...
until yesterday, that is.
I needed to modify my "worker" thread. It now has included a class that is not threaded and needs to invoke one of that classes non-threadded methods.
Something like this:
Now the problem I'm seeing is that myOtherCLass.doSomeWork is being inundated with "clientData" from the multitude of worker threads.
I thought that all I needed to do was to modify the doSomeWork method
from this:
to this:
But this has had no affect.
Any suggestions?