Changeset b9641ee in mainline for uspace/lib/libc/include/psthread.h
- Timestamp:
- 2007-06-27T23:12:25Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bc1f1c2
- Parents:
- 72381f1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/psthread.h
r72381f1 rb9641ee 50 50 51 51 typedef enum { 52 PS_SLEEP, 53 PS_PREEMPT, 52 54 PS_TO_MANAGER, 53 55 PS_FROM_MANAGER, 54 PS_PREEMPT,55 56 PS_FROM_DEAD 56 57 } pschange_type; … … 66 67 tcb_t *tcb; 67 68 68 struct psthread_data *waiter; 69 int finished; 69 struct psthread_data *clean_after_me; 70 struct psthread_data *joiner; 71 int joinee_retval; 70 72 int retval; 71 73 int flags; … … 88 90 void psthread_dec_sercount(void); 89 91 90 static inline int psthread_schedule_next( ) {92 static inline int psthread_schedule_next(void) { 91 93 return psthread_schedule_next_adv(PS_PREEMPT); 92 94 } 93 94 95 95 96 #endif
Note:
See TracChangeset
for help on using the changeset viewer.