Implementing a semaphore in the MPMC queue to wake up consumers
This commit is contained in:
@@ -27,3 +27,5 @@ Making the hashing buffer reusable instead of malloc every file
|
||||
Implementing a general purpose arena to replace small allocations
|
||||
Small improvements of the LF MPMC queue
|
||||
Making the LF MPMC queue generic and in a seperate header file
|
||||
|
||||
4.0: Implementing a semaphore in the LF MPMC queue to wake up consumers when there is items in the queue instead of spinning (busy waiting) or sleeping, this makes the queue spin only when the slots are transitionning (multiple consumers claiming the same slot)
|
||||
|
||||
Reference in New Issue
Block a user