Access current thread

Newbie Member
17Jul2012,01:59   #1
rremedios's Avatar
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?
Newbie Member
17Jul2012,02:06   #2
rremedios's Avatar
Correction, I want to pass the secondary runnable thread a parameter.