[M3devel] O(1) FIFO wakeup of waiters on both Mutexs and Conditions

Rodney M. Bates rodney_bates at lcwb.coop
Tue Jul 21 18:21:22 CEST 2015

I just committed and pushed the subject change.  It could probably use more
testing.  It has shown no problems with m3-libs/m3core/tests/thread, for a
few combinations of thread count and iteration count.

I committed the old version as ThreadPThread0.m3, so it can be reverted
quickly, if bugs show up.  Look in the m3makefile to switch by simple
commenting in and out.

New or old version, it will require recompiles and ships of everything
in the closure of a main program to try it.

Rodney Bates
rodney.m.bates at acm.org

More information about the M3devel mailing list