Re: Low-latency pause in JDK

Doug Lea via Concurrency-interest <[email protected]>
Newsgroups gmane.comp.java.jsr.166-concurrency
Message-ID <[email protected]>
On 10/26/19 2:42 PM, Francesco Nigro via Concurrency-interest wrote:
>> For example, I have later removed
> nearly every occurrence of Thread.yield() in any code I've written after
> finding something better or more general
> 
> OT: Just curious, where? :)

Notice for example that as of the rewrites last summer, there are none
in all of java.util.concurrent.locks.*

Much further off-topic, I was reminded of this when seeing "Ants Are
Practically Immune to Traffic Jams" courtesy of Hacker News a few days
ago (https://news.ycombinator.com/item?id=21352345)
https://www.sciencealert.com/ant-roads-are-practically-immune-to-traffic-jams-even-when-it-gets-crowded


Perhaps we can devise some pheromone-based synchronization primitives...

-Doug

_______________________________________________
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.