Changeset da1f9dc in mainline


Ignore:
Timestamp:
2007-01-22T12:44:53Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
62c63fc
Parents:
f429331
Message:

another typedef to anonymous enum

Location:
kernel/generic/include
Files:
2 edited

Legend:

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

    rf429331 rda1f9dc  
    5454
    5555/** Thread states. */
    56 enum state {
     56typedef enum {
    5757        Invalid,        /**< It is an error, if thread is found in this state. */
    5858        Running,        /**< State of a thread that is currently executing on some CPU. */
     
    6262        Exiting,        /**< After a thread calls thread_exit(), it is put into Exiting state. */
    6363        Undead          /**< Threads that were not detached but exited are in the Undead state. */
    64 };
     64} state_t;
    6565
    6666extern char *thread_states[];
  • kernel/generic/include/typedefs.h

    rf429331 rda1f9dc  
    4949
    5050typedef struct task task_t;
    51 typedef enum state state_t;
    5251typedef struct thread thread_t;
    5352typedef struct context context_t;
Note: See TracChangeset for help on using the changeset viewer.