Changeset 181a746 in mainline for kernel/generic/include/proc/thread.h


Ignore:
Timestamp:
2012-07-10T17:50:29Z (12 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5b6c033
Parents:
22b5924
Message:

rcu: Added preemptible RCU's core API implementation.

File:
1 edited

Legend:

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

    r22b5924 r181a746  
    4141#include <cpu.h>
    4242#include <synch/spinlock.h>
     43#include <synch/rcu.h>
    4344#include <adt/avl.h>
    4445#include <mm/slab.h>
     
    185186        /** Links work queue threads. Protected by workq->lock. */
    186187        link_t workq_link;
    187         /** True if the worker was blocked and is not running.
    188          *
    189          * Protected by thread->lock.
    190          */
     188        /** True if the worker was blocked and is not running. Use thread->lock. */
    191189        bool workq_blocked;
    192         /** True if the worker will block in order to become idle.
    193          *
    194          * Protected by workq->lock.
    195          */
     190        /** True if the worker will block in order to become idle. Use workq->lock. */
    196191        bool workq_idling;
     192       
     193        /** RCU thread related data. Protected by its own locks. */
     194        rcu_thread_data_t rcu;
    197195       
    198196        /** Architecture-specific data. */
Note: See TracChangeset for help on using the changeset viewer.