pthread_cond_signal/await

Francesco Nigro via Concurrency-interest <[email protected]>
Newsgroups gmane.comp.java.jsr.166-concurrency
Message-ID <CAKxGtTWU46AiR588wnc5nCLg6KW5q7jbRC5qjK8YEKvt5RgPxA@mail.gmail.com>
Hi folks,

I've noticed that some concurrent primitives employees mixed strategies
before parking threads.
I am aware of the Linux kernel mechanism of pthread_cond_signal/wait and
the stealthy issue about the contention around futex buckets, but I would
like to understand if there are academic papers or just some article to
explain the motivation of such strategies and how the effectiveness is
being ensured given the very different OSes and architectures supported.

In addition, I see that FJ has dropped the spin before parking threads,
while SynchronousQueue still use it and I don't understand why...

Many thanks,
Franz

_______________________________________________
Concurrency-interest mailing list
[email protected]
http://cs.oswego.edu/mailman/listinfo/concurrency-interest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.