aboutsummaryrefslogtreecommitdiff
path: root/kern/kmutex.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement basic sleeping locks for gnumachAgustina Arzille2017-03-041-0/+76
* kern/atomic.h: New file. * kern/kmutex.h: New file. * kern/kmutex.c: New file. * Makefrag.am (libkernel_a_SOURCES): Add atomic.h, kmutex.h, kmutex.c. * kern/sched_prim.h (thread_wakeup_prim): Make it return boolean_t. * kern/sched_prim.c (thread_wakeup_prim): Return TRUE if we woke a thread, and FALSE otherwise.