|
ginnOS
The reference: libc, the libraries and the kernel
|
#include "common/stdint.h"Go to the source code of this file.
Functions | |
| void | futex_init (void) |
| set up the queues. | |
| int | futex_wake (struct user_space *space, uintptr_t uaddr, int count) |
| wake threads that sleep on a futex. | |
| void futex_init | ( | void | ) |
set up the queues.
call once at boot, before the first futex call.
| int futex_wake | ( | struct user_space * | space, |
| uintptr_t | uaddr, | ||
| int | count ) |
wake threads that sleep on a futex.
| space | the address space of the futex. |
| uaddr | its user address. |
| count | the most threads to wake. |