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