2006-09-05, 08:54 PM
I probably should know how to do this but I've managed to wrap my brain in knots trying various things.
I have a situation where my main process thread creates a new thread that mostly sits around doing nothing until a specific time. At that point it needs to 'talk' to the main thread by passing some data so the main thread can act on it.
What's the best way to pass information back to the main thread in this way? I'm running myself round in circles. :confused:
Cheers,
Brian
I have a situation where my main process thread creates a new thread that mostly sits around doing nothing until a specific time. At that point it needs to 'talk' to the main thread by passing some data so the main thread can act on it.
What's the best way to pass information back to the main thread in this way? I'm running myself round in circles. :confused:
Cheers,
Brian