Changes in uspace/lib/c/include/fibril.h [32d19f7:c1b979a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/fibril.h
r32d19f7 rc1b979a 67 67 typedef struct fibril { 68 68 link_t link; 69 link_t all_link; 69 70 context_t ctx; 70 71 void *stack; … … 86 87 extern void context_restore(context_t *ctx) __attribute__((noreturn)); 87 88 88 extern fid_t fibril_create(int (*func)(void *), void *arg); 89 #define FIBRIL_DFLT_STK_SIZE 0 90 91 #define fibril_create(func, arg) \ 92 fibril_create_generic((func), (arg), FIBRIL_DFLT_STK_SIZE) 93 extern fid_t fibril_create_generic(int (*func)(void *), void *arg, size_t); 89 94 extern void fibril_destroy(fid_t fid); 90 95 extern fibril_t *fibril_setup(void);
Note:
See TracChangeset
for help on using the changeset viewer.