|
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 |
Referenced by bfs_Run(), ChangeFilters(), filter_chain_MouseFilter(), spu_SelectSubpictures(), update_NeedUpgrade(), vlc_player_SetAtoBLoopPosition(), vlc_player_SetAtoBLoopTime(), vlc_playlist_ItemsMoved(), vlc_playlist_ItemsRemoved(), vlc_playlist_Shuffle(), vlc_playlist_Sort(), vlc_rcu_read_held(), vlc_rcu_read_lock(), and vlc_rcu_read_unlock().
|
static |
Referenced by vlc_rcu_read_lock(), and vlc_rcu_synchronize().
|
static |
Referenced by vlc_rcu_synchronize().
|
static |
Referenced by vlc_rcu_synchronize().