
15 Dec
2003
15 Dec
'03
9:14 a.m.
Luke Gorrie <luke@bluetail.com> writes:
I asked some guys at work how to do this. It turns out that mutexes are enough, and it can be done without those SUSPEND/RESUME primitives or monitors. "Bread and butter POSIX threads stuff."
The algorithm is this:
... *ahem*, the algorithm I described is just an implementation of a monitor using a mutex. Oops :-) I'll shush up and do some more experimentation, and also look into what it would take to do it the way Gary Byers described instead. Cheers, Luke