Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/synch/mutex.h

    r83dab11 r15d9fe6  
    4343typedef enum {
    4444        MUTEX_PASSIVE,
     45        MUTEX_RECURSIVE,
    4546        MUTEX_ACTIVE
    4647} mutex_type_t;
     48
     49struct thread;
    4750
    4851typedef struct {
    4952        mutex_type_t type;
    5053        semaphore_t sem;
     54        struct thread *owner;
     55        unsigned nesting;
    5156} mutex_t;
    5257
Note: See TracChangeset for help on using the changeset viewer.