Changeset f787c8e in mainline for uspace/lib/c/include/fibril.h
- Timestamp:
- 2018-08-01T18:37:54Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 82d9087
- Parents:
- 1de92fb0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/fibril.h
r1de92fb0 rf787c8e 49 49 typedef fibril_t *fid_t; 50 50 51 typedef struct {52 fibril_t *fibril;53 } fibril_event_t;54 55 #define FIBRIL_EVENT_INIT ((fibril_event_t) {0})56 57 51 /** Fibril-local variable specifier */ 58 52 #define fibril_local __thread … … 82 76 extern __noreturn void fibril_exit(long); 83 77 84 extern void fibril_wait_for(fibril_event_t *);85 extern errno_t fibril_wait_timeout(fibril_event_t *, const struct timeval *);86 extern void fibril_notify(fibril_event_t *);87 88 extern errno_t fibril_ipc_wait(ipc_call_t *, const struct timeval *);89 extern void fibril_ipc_poke(void);90 91 78 #endif 92 79
Note:
See TracChangeset
for help on using the changeset viewer.