summaryrefslogtreecommitdiff
path: root/kern/rtmutex.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-01-06 23:28:08 +0100
committerRichard Braun <rbraun@sceen.net>2018-01-06 23:28:08 +0100
commita97a2bc6f1c24851ef19600a7bd15b211137abfe (patch)
treeda6532992f523df92a642031eda4cc8750398a2b /kern/rtmutex.c
parenta56a2183e428ef806225482eff5b44da9b79e306 (diff)
kern/sleepq: fix signal behaviour
In order to correctly implement the behaviour of condition_signal, which must wake up at least one waiting thread if there's any, sleepq_signal wakes up the oldest waiter and shifts it. The FIFO behaviour is removed from the specification, as the only user which relied on it was a previous condition variable implementation.
Diffstat (limited to 'kern/rtmutex.c')
0 files changed, 0 insertions, 0 deletions