|
VLC 4.0.0-dev
|
Read-Copy-Update (RCU) definitions. More...
Data Structures | |
| struct | vlc_rcu_generation |
| struct | vlc_rcu_thread |
Functions | |
| bool | vlc_rcu_read_held (void) |
| Checks if the thread is in an read-side RCU critical section. | |
| void | vlc_rcu_read_lock (void) |
| Begins a read-side RCU critical section. | |
| void | vlc_rcu_read_unlock (void) |
| Ends a read-side RCU critical section. | |
| void | vlc_rcu_synchronize (void) |
| Waits for completion of earlier read-side RCU critical section. | |
Variables | |
| static thread_local struct vlc_rcu_thread | current |
| static struct vlc_rcu_generation *_Atomic | generation = &gens[0] |
| static vlc_mutex_t | writer_lock = { .value = 0, .recursion = 0, .owner = 0, } |
| static struct vlc_rcu_generation | gens [2] |
Read-Copy-Update (RCU) definitions.
|
static |
|
static |
Referenced by vlc_rcu_read_lock(), and vlc_rcu_synchronize().
|
static |
Referenced by vlc_rcu_synchronize().
|
static |
Referenced by vlc_rcu_synchronize().