3 ms·
If you need really good synchronization primitives while Glibc is fixing things then I've had a lot of success with *NSYNC https://github.com/google/nsync https
by jart 4y ago
If you need really good synchronization primitives while Glibc is fixing things then I've had a lot of success with *NSYNC https://github.com/google/nsync https://github.com/google/nsync which is what Cosmopolitan Libc uses to implement pthread_cond_t.
- jeffbee 4y agoIts design is similar to absl::Mutex, which is available to c++ users. They may also have been written initially by Mike Burrows?
- jart 4y agoYes. *NSYNC was built by Mike Burrows. The guy famous for building Chubby and Altavista. You wouldn't think it though, considering the project only has 188 stars.