Rev 2446 | Rev 2502 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2446 | Rev 2451 | ||
---|---|---|---|
Line 79... | Line 79... | ||
79 | Ready, |
79 | Ready, |
80 | /** Threads are in this state before they are first readied. */ |
80 | /** Threads are in this state before they are first readied. */ |
81 | Entering, |
81 | Entering, |
82 | /** After a thread calls thread_exit(), it is put into Exiting state. */ |
82 | /** After a thread calls thread_exit(), it is put into Exiting state. */ |
83 | Exiting, |
83 | Exiting, |
84 | /** Threads that were not detached but exited are in the JoinMe state. */ |
84 | /** Threads that were not detached but exited are Lingering. */ |
85 | JoinMe |
85 | Lingering |
86 | } state_t; |
86 | } state_t; |
87 | 87 | ||
88 | /** Thread structure. There is one per thread. */ |
88 | /** Thread structure. There is one per thread. */ |
89 | typedef struct thread { |
89 | typedef struct thread { |
90 | link_t rq_link; /**< Run queue link. */ |
90 | link_t rq_link; /**< Run queue link. */ |