[pypy-dev] Any Multithreading Primitives?

Timothy Baldridge tbaldridge at gmail.com
Tue Mar 15 16:04:04 CET 2011

Does PyPy have any sort of multithreading primitives that are
available in rpython programs? I'm specifically looking for CAS. I can
probably simulate a mutex with CAS. Or do I have to drop down to some
sort of assembly generation to atomically update a object reference?



“One of the main causes of the fall of the Roman Empire was
that–lacking zero–they had no way to indicate successful termination
of their C programs.”
(Robert Firth)

More information about the Pypy-dev mailing list