summaryrefslogtreecommitdiff
path: root/kern/semaphore.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-04-09 16:02:36 +0200
committerRichard Braun <rbraun@sceen.net>2017-04-09 16:03:29 +0200
commit42b089048fc0d3e67fa10cb411767afa161c7222 (patch)
tree56338238b840f8dcdec3227f01aba62b974cf87d /kern/semaphore.h
parent239d8d2d4c14f917767c8c6d177aeb934df2c53a (diff)
kern/{mutex,rtmutex,spinlock}: optimize fast paths
Rework so that fast paths occupy the first indentation level, and use the unlikely macro on the relevant conditions.
Diffstat (limited to 'kern/semaphore.h')
0 files changed, 0 insertions, 0 deletions