Changeset ff14c520 in mainline for generic/include/proc/thread.h
- Timestamp:
- 2006-03-16T22:31:39Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 93165be
- Parents:
- 37c57f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/proc/thread.h
r37c57f2 rff14c520 60 60 #define X_STOLEN (1<<1) 61 61 62 /** Thread structure. There is one per thread. */ 62 63 struct thread { 64 char *name; 65 63 66 link_t rq_link; /**< Run queue link. */ 64 67 link_t wq_link; /**< Wait queue link. */ … … 126 129 127 130 extern void thread_init(void); 128 extern thread_t *thread_create(void (* func)(void *), void *arg, task_t *task, int flags );131 extern thread_t *thread_create(void (* func)(void *), void *arg, task_t *task, int flags, char *name); 129 132 extern void thread_ready(thread_t *t); 130 133 extern void thread_exit(void);
Note:
See TracChangeset
for help on using the changeset viewer.