summaryrefslogtreecommitdiff
path: root/kern/mutex.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-04-08 21:10:41 +0200
committerRichard Braun <rbraun@sceen.net>2013-04-08 21:10:41 +0200
commite2cfad45825f974e544c2b5788392381e2f1b87b (patch)
treed56f080ded1430abdcd00183b0d8acb5279bf0e3 /kern/mutex.c
parent7bb7f2c2ebd7930c2c041f366917e1234bbd0625 (diff)
kern/thread: rework thread state handling
In order to implement synchronization primitives, the thread_sleep and thread_wakeup functions are changed so that a thread waiting for an event can be reliably awaken, without ever missing a wakeup request.
Diffstat (limited to 'kern/mutex.c')
0 files changed, 0 insertions, 0 deletions