Changeset 116d3f6f in mainline for uspace/lib/libc/include/fibril.h
- Timestamp:
- 2007-10-03T06:55:56Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 18525c5
- Parents:
- 5b5d25f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/fibril.h
r5b5d25f r116d3f6f 78 78 extern fibril_t *fibril_setup(void); 79 79 extern void fibril_teardown(fibril_t *f); 80 extern int fibril_s chedule_next_adv(fibril_switch_type_t stype);80 extern int fibril_switch(fibril_switch_type_t stype); 81 81 extern void fibril_add_ready(fid_t fid); 82 82 extern void fibril_add_manager(fid_t fid); … … 86 86 extern void fibril_dec_sercount(void); 87 87 88 static inline int fibril_ schedule_next(void) {89 return fibril_s chedule_next_adv(FIBRIL_PREEMPT);88 static inline int fibril_yield(void) { 89 return fibril_switch(FIBRIL_PREEMPT); 90 90 } 91 91
Note:
See TracChangeset
for help on using the changeset viewer.