Access current thread
My main thread starts a secondary thread that does some work.
I want to pass in a request to the secondary thread to stop the work but for the thread to contine running so that I can then pass another request to the existing secondary thread to do some other work.
I can create the secondary thread with a parameter that passes commands to the secondary thread.
How do I call the secondary thread to pass the parameter after it has started?
Re: Access current thread
Correction, I want to pass the secondary runnable thread a parameter.
|All times are GMT +5.5. The time now is 17:08.|