lets-write-sync-primitives icon indicating copy to clipboard operation
lets-write-sync-primitives copied to clipboard

Let's implement some synchronization primitives, shall we?

Results 2 lets-write-sync-primitives issues
Sort by recently updated
recently updated
newest added

The semaphore implementation is rather complicated. The trick a mutex uses to avoid losing wakeups is already tricky enough ("futexes are tricky!") that it took me a long time to...

It would be great to test that condition variable works properly, including under load/contention. Unfortunately it's not clear how to test its behavior under load, since the load tends to...