On Thu, 11 Apr 2002, Mathew Johnston wrote:

> I'm using one mutex to sync pops (I only want one thread to get each
> object) and one to sync pushes (do I really need one for pushes?)

Yes. The queue is a shared resource and should have the property of
atomicity for any kind of transaction that alters it.

- Leon

>
> Thanks,
> Mathew Johnston
>
>
>