Caleb Clausen
9/22/2008 10:02:00 AM
On 9/22/08, Thomas B. <tpreal@gmail.com> wrote:
> Thanks for your responses.
> [snip]
> Unfortunately, Monitor does not allow this way of usage, too.
Really? After I looked into it, it seemed like maybe you could use a
condition variable, but then I've never understood monitors or
condition variables properly. A semaphore seems so much simpler, for
this case, at any rate. I guess condition variables would have the
advantage of being faster, (if they can be made to work) since they
were presumably rendered into c as well.