Access current thread

rremedios's Avatar, Join Date: Jul 2012
Newbie Member
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?
rremedios's Avatar, Join Date: Jul 2012
Newbie Member
Correction, I want to pass the secondary runnable thread a parameter.