Changes in uspace/lib/c/generic/thread/futex.c [45c8eea:508b0df1] in mainline
- File:
-
- 1 edited
-
uspace/lib/c/generic/thread/futex.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/thread/futex.c
r45c8eea r508b0df1 49 49 * @param val Initialization value. 50 50 * 51 * @return Error code.52 51 */ 53 errno_tfutex_initialize(futex_t *futex, int val)52 void futex_initialize(futex_t *futex, int val) 54 53 { 55 54 atomic_store_explicit(&futex->val, val, memory_order_relaxed); 56 futex->whandle = CAP_NIL;57 return futex_allocate_waitq(futex);58 55 } 59 56
Note:
See TracChangeset
for help on using the changeset viewer.
