This website requires JavaScript.
Explore
Help
Register
Sign In
korg
/
linux
Watch
0
Star
0
Fork
0
You've already forked linux
mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced
2024-12-28 13:34:38 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
5093bb965a
linux
/
include
/
asm-x86
/
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>
Reference in New Issue
Copy Permalink