Changeset fe19611 in mainline for generic/include/proc/thread.h
- Timestamp:
- 2006-06-04T17:15:27Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c4e4507
- Parents:
- 8adafa0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/proc/thread.h
r8adafa0 rfe19611 52 52 Ready, /**< State of threads in a run queue. */ 53 53 Entering, /**< Threads are in this state before they are first readied. */ 54 Exiting /**< After a thread calls thread_exit(), it is put into Exiting state. */ 54 Exiting, /**< After a thread calls thread_exit(), it is put into Exiting state. */ 55 Undead /**< Threads that were not detached but exited are in the Undead state. */ 55 56 }; 56 57 … … 98 99 bool in_copy_to_uspace; 99 100 101 bool detached; /**< If true, thread_join_timeout() cannot be used on this thread. */ 102 waitq_t join_wq; /**< Waitq for thread_join_timeout(). */ 100 103 101 104 fpu_context_t *saved_fpu_context; … … 152 155 extern void thread_usleep(__u32 usec); 153 156 157 extern int thread_join_timeout(thread_t *t, __u32 usec, int flags); 158 extern void thread_detach(thread_t *t); 159 154 160 extern void thread_register_call_me(void (* call_me)(void *), void *call_me_with); 155 161 extern void thread_print_list(void);
Note:
See TracChangeset
for help on using the changeset viewer.