3 ms·
Any thoughts on this HP research paper http://www.hpl.hp.com/techreports/2004/HPL-2004-209.html http://www.hpl.hp.com/techreports/2004/HPL-2004-209.html "Thre
by Hoff 14y ago
Any thoughts on this HP research paper
http://www.hpl.hp.com/techreports/2004/HPL-2004-209.html http://www.hpl.hp.com/techreports/2004/HPL-2004-209.html
"Threads Cannot be Implemented as a Library"?
That paper states that library-based threading implementations that don't also involve the compiler can't guarantee correctness of the resulting threading.
- qznc 14y agoNot relevant here. The paper talks about correctness for parallel kernel-level threads. In contrast, lthreads are about concurrency. These user-level threads are about software architecture, because they are more elegant than an event-loop. Parallelism (exploiting multicore hardware for a speedup) is a secondary goal, but it is much easier to parallelize a user-level thread program compared to an event loop program.