Changeset c4c5de5 in mainline for libc/include/psthread.h
- Timestamp:
- 2006-03-24T14:29:19Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8fe1cdb
- Parents:
- 520492a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/include/psthread.h
r520492a rc4c5de5 32 32 #include <libarch/psthread.h> 33 33 #include <libadt/list.h> 34 #include <libarch/thread.h> 34 35 35 36 #ifndef context_set … … 43 44 44 45 struct psthread_data { 45 struct psthread_data *self; /* ia32, amd64 needs to get self address */46 47 46 link_t link; 48 47 context_t ctx; … … 50 49 void *arg; 51 50 int (*func)(void *); 51 tcb_t *tcb; 52 52 53 53 struct psthread_data *waiter; … … 64 64 int psthread_schedule_next(void); 65 65 int psthread_join(pstid_t psthrid); 66 psthread_data_t * psthread_setup(tcb_t *tcb); 67 void psthread_teardown(psthread_data_t *pt); 68 66 69 67 70 #endif
Note:
See TracChangeset
for help on using the changeset viewer.