This website requires JavaScript.
Explore
Help
Register
Sign In
OpenSDV
/
linux-stable-rt
Watch
1
Star
0
Fork
You've already forked linux-stable-rt
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
b7ba30c679
linux-stable-rt
/
include
/
asm-sh
/
semaphore.h
2 lines
29 B
C
Raw
Normal View
History
Unescape
Escape
Generic semaphore implementation Semaphores are no longer performance-critical, so a generic C implementation is better for maintainability, debuggability and extensibility. Thanks to Peter Zijlstra for fixing the lockdep warning. Thanks to Harvey Harrison for pointing out that the unlikely() was unnecessary. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Acked-by: Ingo Molnar <mingo@elte.hu>
2008-03-08 10:55:58 +08:00
#
include
<linux/semaphore.h>