Changeset aaa3c457 in mainline for uspace/lib/c/generic/private/fibril.h
- Timestamp:
- 2018-11-12T10:36:10Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a43dfcb
- Parents:
- 3ce781f4 (diff), 6874bd2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jakub Jermář <jakub@…> (2018-11-12 10:36:10)
- git-committer:
- GitHub <noreply@…> (2018-11-12 10:36:10)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/private/fibril.h
r3ce781f4 raaa3c457 79 79 80 80 extern void __fibrils_init(void); 81 extern void __fibrils_fini(void); 81 82 82 83 extern void fibril_wait_for(fibril_event_t *); … … 120 121 } fibril_rmutex_t; 121 122 122 #define FIBRIL_RMUTEX_INITIALIZER(name) \ 123 { .futex = FUTEX_INITIALIZE(1) } 124 125 #define FIBRIL_RMUTEX_INITIALIZE(name) \ 126 fibril_rmutex_t name = FIBRIL_RMUTEX_INITIALIZER(name) 127 128 extern void fibril_rmutex_initialize(fibril_rmutex_t *); 123 extern errno_t fibril_rmutex_initialize(fibril_rmutex_t *); 124 extern void fibril_rmutex_destroy(fibril_rmutex_t *); 129 125 extern void fibril_rmutex_lock(fibril_rmutex_t *); 130 126 extern bool fibril_rmutex_trylock(fibril_rmutex_t *);
Note:
See TracChangeset
for help on using the changeset viewer.