urcu-call-rcu.h | urcu-call-rcu.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
/* Note that struct call_rcu_data is opaque to callers. */ | /* Note that struct call_rcu_data is opaque to callers. */ | |||
struct call_rcu_data; | struct call_rcu_data; | |||
/* Flag values. */ | /* Flag values. */ | |||
#define URCU_CALL_RCU_RT 0x1 | #define URCU_CALL_RCU_RT (1U << 0) | |||
#define URCU_CALL_RCU_RUNNING 0x2 | #define URCU_CALL_RCU_RUNNING (1U << 1) | |||
#define URCU_CALL_RCU_STOP 0x4 | #define URCU_CALL_RCU_STOP (1U << 2) | |||
#define URCU_CALL_RCU_STOPPED 0x8 | #define URCU_CALL_RCU_STOPPED (1U << 3) | |||
#define URCU_CALL_RCU_PAUSE (1U << 4) | ||||
#define URCU_CALL_RCU_PAUSED (1U << 5) | ||||
/* | /* | |||
* The rcu_head data structure is placed in the structure to be freed | * The rcu_head data structure is placed in the structure to be freed | |||
* via call_rcu(). | * via call_rcu(). | |||
*/ | */ | |||
struct rcu_head { | struct rcu_head { | |||
struct cds_wfq_node next; | struct cds_wfq_node next; | |||
void (*func)(struct rcu_head *head); | void (*func)(struct rcu_head *head); | |||
}; | }; | |||
End of changes. 1 change blocks. | ||||
4 lines changed or deleted | 6 lines changed or added | |||