Rev 1392 | Rev 1610 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1392 | Rev 1427 | ||
|---|---|---|---|
| Line 72... | Line 72... | ||
| 72 | void psthread_teardown(psthread_data_t *pt); |
72 | void psthread_teardown(psthread_data_t *pt); |
| 73 | int psthread_schedule_next_adv(pschange_type ctype); |
73 | int psthread_schedule_next_adv(pschange_type ctype); |
| 74 | void psthread_add_ready(pstid_t ptid); |
74 | void psthread_add_ready(pstid_t ptid); |
| 75 | void psthread_add_manager(pstid_t psthrid); |
75 | void psthread_add_manager(pstid_t psthrid); |
| 76 | void psthread_remove_manager(void); |
76 | void psthread_remove_manager(void); |
| - | 77 | pstid_t psthread_get_id(void); |
|
| 77 | 78 | ||
| 78 | static inline int psthread_schedule_next() { |
79 | static inline int psthread_schedule_next() { |
| 79 | return psthread_schedule_next_adv(PS_PREEMPT); |
80 | return psthread_schedule_next_adv(PS_PREEMPT); |
| 80 | } |
81 | } |
| 81 | 82 | ||