[concurrency-interest] retrofitted wait/notify?

Paulo Silveira paulo.silveira at gmail.com
Tue Aug 31 14:14:41 EDT 2010


Nowadays every concurrent collection will use ReentrantLock/Syncs (or
something similar) where we could also use wait/notify. I do
understand the advantages in using the concurrency primitives, so why
not using AbstractQueuedSynchronizer /UnfairSyncs to implement
wait/notify instead of its native implementations? There is probably
an obvious answer, but I cant figuer it out.

Paulo Silveira
Caelum | Ensino e Inovação

More information about the Concurrency-interest mailing list