Changeset 48e7dd6 in mainline for generic/include/proc/thread.h


Ignore:
Timestamp:
2006-06-08T09:03:29Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
22bea15
Parents:
4bc141c
Message:

Collect Undead threads while waiting to join uinit.
Rename ktaskkill to ktaskgc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/proc/thread.h

    r4bc141c r48e7dd6  
    4747#define THREAD_STACK_SIZE       STACK_SIZE
    4848
     49/**< Thread states. */
    4950enum state {
    5051        Invalid,        /**< It is an error, if thread is found in this state. */
     
    5859
    5960extern char *thread_states[];
     61
     62/**< Join types. */
     63typedef enum {
     64        None,
     65        TaskClnp,       /**< The thread will be joined by ktaskclnp thread. */
     66        TaskGC          /**< The thread will be joined by ktaskgc thread. */
     67} thread_join_type_t;
    6068
    6169#define X_WIRED         (1<<0)
     
    104112        bool interrupted;                       
    105113       
     114        thread_join_type_t      join_type;      /**< Who joinins the thread. */
    106115        bool detached;                          /**< If true, thread_join_timeout() cannot be used on this thread. */
    107116        waitq_t join_wq;                        /**< Waitq for thread_join_timeout(). */
Note: See TracChangeset for help on using the changeset viewer.