Proper way to make a thread wait using std.thread
Morgan McDermott
morganmcdermott at gmail.com
Fri Dec 8 08:25:36 PST 2006
Hi there,
I'm trying to get a thread to wait every so often using std.thread,
but using Thread.wait() to wait for another thread to end seems
improper. Obviously, Thread.pause() and Thread.resume() are likely
candidates to solve this problem, but I'd prefer that a thread pauses
itself internally. Is there a simple way to do this?
Thank you for your time,
~Morgan McDermott
More information about the Digitalmars-d-learn
mailing list