Re:Implementing Queues for Event-Driven Programs
by scott_s on Monday June 13, 2016 @11:11AM
(#11894468)
Pthreads on Linux encourage holding the lock during a signal or broadcast (http://linux.die.net/man/3/pthread_cond_signal):
They don't define what exactly "predictable scheduling is", but the message that most programmers will probably come away with is, grabbing the lock is probably the better thing to do.
[ Parent
| on HN ]
There are no comments on this comment yet.