Changeset 927a181e in mainline for uspace/lib/c/include/futex.h
- Timestamp:
- 2012-12-04T02:17:04Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cb10bc9
- Parents:
- 21b703f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/futex.h
r21b703f r927a181e 39 39 #include <sys/types.h> 40 40 41 #define FUTEX_INITIALIZER { 1}41 #define FUTEX_INITIALIZER {{1}} 42 42 43 typedef atomic_t futex_t; 43 typedef struct futex { 44 atomic_t val; 45 } futex_t; 44 46 45 47 extern void futex_initialize(futex_t *futex, int value);
Note:
See TracChangeset
for help on using the changeset viewer.