nim-works / loony

A high throughput MPMC lock-free queue based on a paper by Giersch, Nolte et al implemented in pure Nim.
https://nim-works.github.io/loony/
MIT License
65 stars 4 forks source link

[MacOS/Darwin] Emulating Futex behaviour #22

Closed shayanhabibi closed 2 years ago

shayanhabibi commented 2 years ago

I implemented the ulock futex-like primitive from darwin based operating systems. The documentation on it is very sparse. However this does seem to employ the behaviour we're after.