Changeset 4db6eaf in mainline for uspace/lib/libc/include/futex.h
- Timestamp:
- 2008-01-06T14:05:15Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 10d6b858
- Parents:
- b3c38750
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/futex.h
rb3c38750 r4db6eaf 41 41 #define FUTEX_INITIALIZER {1} 42 42 43 extern void futex_initialize(atomic_t *futex, int value); 44 extern int futex_down(atomic_t *futex); 45 extern int futex_trydown(atomic_t *futex); 46 extern int futex_down_timeout(atomic_t *futex, uint32_t usec, int flags); 47 extern int futex_up(atomic_t *futex); 43 typedef atomic_t futex_t; 44 45 extern void futex_initialize(futex_t *futex, int value); 46 extern int futex_down(futex_t *futex); 47 extern int futex_trydown(futex_t *futex); 48 extern int futex_down_timeout(futex_t *futex, uint32_t usec, int flags); 49 extern int futex_up(futex_t *futex); 48 50 49 51 #endif
Note:
See TracChangeset
for help on using the changeset viewer.