Changeset ea7890e7 in mainline for kernel/generic/include/proc/thread.h
- Timestamp:
- 2007-06-01T15:47:46Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 07be3c4
- Parents:
- ff3a34b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/thread.h
rff3a34b rea7890e7 1 1 /* 2 * Copyright (c) 2001-200 4Jakub Jermar2 * Copyright (c) 2001-2007 Jakub Jermar 3 3 * All rights reserved. 4 4 * … … 41 41 #include <cpu.h> 42 42 #include <synch/rwlock.h> 43 #include <synch/spinlock.h> 43 44 #include <adt/btree.h> 44 45 #include <mm/slab.h> … … 81 82 /** After a thread calls thread_exit(), it is put into Exiting state. */ 82 83 Exiting, 83 /** Threads that were not detached but exited are in the Undeadstate. */84 Undead84 /** Threads that were not detached but exited are in the JoinMe state. */ 85 JoinMe 85 86 } state_t; 86 87 /** Join types. */88 typedef enum {89 None,90 TaskClnp, /**< The thread will be joined by ktaskclnp thread. */91 TaskGC /**< The thread will be joined by ktaskgc thread. */92 } thread_join_type_t;93 87 94 88 /** Thread structure. There is one per thread. */ … … 153 147 bool interrupted; 154 148 155 /** Who joinins the thread. */156 thread_join_type_t join_type;157 149 /** If true, thread_join_timeout() cannot be used on this thread. */ 158 150 bool detached; 159 151 /** Waitq for thread_join_timeout(). */ 160 152 waitq_t join_wq; 153 /** Link used in the joiner_head list. */ 154 link_t joiner_link; 161 155 162 156 fpu_context_t *saved_fpu_context;
Note:
See TracChangeset
for help on using the changeset viewer.