Suriya Subramanian <email@example.com> wrote on 09/29/2008 04:14:44 PM:
> There is no mutex guarding accesses to GreenProcessor.readyQueue, while
> GreenProcessor.transferQueue has one. ioQueue and idleQueue are not guarded
> as well.
> I would like to know why this is the case. When is a mutex required and
> when is one not?
I believe this is because the readyQueue, ioQueue and idleQueue are only accessed by their own GreenProcessor, while the transferQueue can be accessed by multiple GreenProcessors.