Rev 1653 | Rev 1719 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1653 | Rev 1709 | ||
|---|---|---|---|
| Line 107... | Line 107... | ||
| 107 | /** Schedule next userspace pseudo thread. |
107 | /** Schedule next userspace pseudo thread. |
| 108 | * |
108 | * |
| 109 | * If calling with PS_TO_MANAGER parameter, the async_futex should be |
109 | * If calling with PS_TO_MANAGER parameter, the async_futex should be |
| 110 | * held. |
110 | * held. |
| 111 | * |
111 | * |
| 112 | * @param tomanager If true, we are switching to next ready manager thread |
- | |
| 113 | * (if none is found, thread is exited) |
- | |
| 114 | * @param frommanager If true, we are switching from manager thread |
112 | * @param ctype Type of switch. |
| 115 | * @return 0 if there is no ready pseudo thread, 1 otherwise. |
113 | * @return 0 if there is no ready pseudo thread, 1 otherwise. |
| 116 | */ |
114 | */ |
| 117 | int psthread_schedule_next_adv(pschange_type ctype) |
115 | int psthread_schedule_next_adv(pschange_type ctype) |
| 118 | { |
116 | { |
| 119 | psthread_data_t *srcpt, *dstpt; |
117 | psthread_data_t *srcpt, *dstpt; |