Rev 1392 | Rev 1427 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1392 | Rev 1407 | ||
|---|---|---|---|
| Line 89... | Line 89... | ||
| 89 | psthread_data_t *pt; |
89 | psthread_data_t *pt; |
| 90 | 90 | ||
| 91 | pt = psthread_setup(); |
91 | pt = psthread_setup(); |
| 92 | __tcb_set(pt->tcb); |
92 | __tcb_set(pt->tcb); |
| 93 | 93 | ||
| 94 | async_create_manager(); |
- | |
| 95 | - | ||
| 96 | uarg->uspace_thread_function(uarg->uspace_thread_arg); |
94 | uarg->uspace_thread_function(uarg->uspace_thread_arg); |
| 97 | free(uarg->uspace_stack); |
95 | free(uarg->uspace_stack); |
| 98 | free(uarg); |
96 | free(uarg); |
| 99 | 97 | ||
| - | 98 | /* If there is a manager, destroy it */ |
|
| 100 | async_destroy_manager(); |
99 | async_destroy_manager(); |
| 101 | psthread_teardown(pt); |
100 | psthread_teardown(pt); |
| 102 | 101 | ||
| 103 | thread_exit(0); |
102 | thread_exit(0); |
| 104 | } |
103 | } |