Changeset 4fded58 in mainline for generic/include/proc/task.h


Ignore:
Timestamp:
2006-05-31T12:33:30Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
76d7305
Parents:
3de6dd7a
Message:

Reference counting for futexes.

File:
1 edited

Legend:

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

    r3de6dd7a r4fded58  
    3232#include <typedefs.h>
    3333#include <synch/spinlock.h>
     34#include <synch/mutex.h>
    3435#include <adt/btree.h>
    3536#include <adt/list.h>
     
    5455       
    5556        task_arch_t arch;       /**< Architecture specific task data. */
     57       
     58        /**
     59          * Serializes access to the B+tree of task's futexes. This mutex is
     60          * independent on the task spinlock.
     61          */
     62        mutex_t futexes_lock;
     63        btree_t futexes;        /**< B+tree of futexes referenced by this task. */
    5664};
    5765
Note: See TracChangeset for help on using the changeset viewer.