Ignore:
File:
1 edited

Legend:

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

    raae365bc raab5e46  
    4141#include <cpu.h>
    4242#include <synch/spinlock.h>
     43#include <synch/rcu_types.h>
    4344#include <adt/odict.h>
    4445#include <mm/slab.h>
     
    193194        thread_id_t tid;
    194195
     196        /** Work queue this thread belongs to or NULL. Immutable. */
     197        struct work_queue *workq;
     198        /** Links work queue threads. Protected by workq->lock. */
     199        link_t workq_link;
     200        /** True if the worker was blocked and is not running. Use thread->lock. */
     201        bool workq_blocked;
     202        /** True if the worker will block in order to become idle. Use workq->lock. */
     203        bool workq_idling;
     204
     205        /** RCU thread related data. Protected by its own locks. */
     206        rcu_thread_data_t rcu;
     207
    195208        /** Architecture-specific data. */
    196209        thread_arch_t arch;
Note: See TracChangeset for help on using the changeset viewer.