fix/improve notifySpecific using semaphores
* Using SleeperState instead of boolean flags make the code more readable. * Don't try to notify ourselves resulting in an infinite loop. * Allocate the worker states cache line exclusive. * Add debug messages. * Back off for 1ms when notifying everyone to allow the specific worker to wake up.
parent
96a846a1
No related branches found
No related tags found
Please register or sign in to comment