#include <common/main.h>
Go to the source code of this file.
typedef void(* lock_callback_ty)(void *) |
typedef void(* lock_walk_callback)(lock_walk_found *) |
enum lock_walk_name |
enum lock_walk_type |
bool lock_active | ( | void | ) |
The lock_active function is used to determine wherther or not a lock is active (i.e. with lock_take/lock_release pair) or not. Ideally, it will be used in assert statements.
long lock_magic | ( | void | ) |
void lock_prepare_baseline_read | ( | struct string_ty * | project_name, | |
lock_callback_ty | , | |||
void * | ||||
) |
void lock_prepare_baseline_write | ( | struct string_ty * | project_name, | |
lock_callback_ty | , | |||
void * | ||||
) |
void lock_prepare_cstate | ( | struct string_ty * | project_name, | |
long | change_number, | |||
lock_callback_ty | , | |||
void * | ||||
) |
void lock_prepare_gstate | ( | lock_callback_ty | , | |
void * | ||||
) |
void lock_prepare_history | ( | struct string_ty * | project_name, | |
lock_callback_ty | , | |||
void * | ||||
) |
void lock_prepare_pstate | ( | struct string_ty * | project_name, | |
lock_callback_ty | , | |||
void * | ||||
) |
void lock_prepare_ustate | ( | int | uid, | |
lock_callback_ty | , | |||
void * | ||||
) |
void lock_prepare_ustate_all | ( | lock_callback_ty | , | |
void * | ||||
) |
void lock_quitter | ( | void | ) |
The lock_quitetr function releases all locks. This function shall only be called by the quit_action_lock class.
void lock_release | ( | void | ) |
void lock_release_child | ( | void | ) |
void lock_take | ( | void | ) |
void lock_walk | ( | lock_walk_callback | ) |