How to stop the Threadmill

Chris wendlec at tcd.ie
Mon Jan 28 05:47:57 PST 2013


Thanks guys. I can get the functionality I need by simply using a 
shared flag that breaks out of the play loop if set to false. I 
thought it might be possible to implement the stop function by 
sending a message to the thread assuming that the thread 
"listens" to receive *while* executing its task.


More information about the Digitalmars-d-learn mailing list