blocking_semaphore 0.1.0

A simple and performant blocking semaphore.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
# blocking_semaphore

![logo](art/logo.png)

A simple and performant blocking semaphore.

todo list:
- [x] binary semaphore
- [ ] counting semaphore
- [x] portable stdlib implementation with [Condvar]https://doc.rust-lang.org/std/sync/struct.Condvar.html
- [ ] optimize Windows performance with [WaitOnAddress]https://learn.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-waitonaddress
- [ ] optimize Linux performance with [futex]https://man7.org/linux/man-pages/man2/futex.2.html
- [ ] optimize macOS performance with dispatch_semaphore