File wait_for_graph.h¶
FileList > cubrid > src > transaction > wait_for_graph.h
Go to the source code of this file
#include "thread_compat.hpp"
Classes¶
| Type | Name |
|---|---|
| struct | wfg_listcycle |
| struct | wfg_waiter |
Public Types¶
| Type | Name |
|---|---|
| typedef struct wfg_listcycle | WFG_CYCLE |
| enum | WFG_CYCLE_CASE |
| typedef struct wfg_waiter | WFG_WAITER |
Public Functions¶
| Type | Name |
|---|---|
| int | wfg_alloc_nodes (THREAD_ENTRY * thread_p, const int num_trans) |
| int | wfg_alloc_tran_group (THREAD_ENTRY * thread_p) |
| int | wfg_detect_cycle (THREAD_ENTRY * thread_p, WFG_CYCLE_CASE * cycle_case, WFG_CYCLE ** list_cycles_p) |
| int | wfg_dump (THREAD_ENTRY * thread_p) |
| int | wfg_free_cycle (WFG_CYCLE * list_cycles_p) |
| int | wfg_free_nodes (THREAD_ENTRY * thread_p) |
| int | wfg_get_status (int * num_edges_p, int * num_waiters_p) |
| int | wfg_get_tran_entries (THREAD_ENTRY * thread_p, const int tran_index) |
| int | wfg_insert_holder_tran_group (THREAD_ENTRY * thread_p, const int tran_group_index, const int holder_tran_index) |
| int | wfg_insert_out_edges (THREAD_ENTRY * thread_p, const int wtran_index, int num_holders, const int * htran_indices, int(*)(int tran_index, void *args) cycle_resolution_fn, void * args) |
| int | wfg_insert_waiter_tran_group (THREAD_ENTRY * thread_p, const int tran_group_index, const int waiter_tran_index, int(*)(int tran_index, void *args) cycle_resolution_fn, void * args) |
| int | wfg_is_tran_group_waiting (THREAD_ENTRY * thread_p, const int tran_index) |
| int | wfg_is_waiting (THREAD_ENTRY * thread_p, const int tran_index) |
| int | wfg_remove_holder_tran_group (THREAD_ENTRY * thread_p, const int tran_group_index, const int holder_tran_index) |
| int | wfg_remove_out_edges (THREAD_ENTRY * thread_p, const int waiter_tran_index, const int num_holders, const int * htran_indices_p) |
| int | wfg_remove_waiter_tran_group (THREAD_ENTRY * thread_p, const int tran_group_index, const int waiter_tran_index) |
Public Types Documentation¶
typedef WFG_CYCLE¶
enum WFG_CYCLE_CASE¶
typedef WFG_WAITER¶
Public Functions Documentation¶
function wfg_alloc_nodes¶
function wfg_alloc_tran_group¶
function wfg_detect_cycle¶
int wfg_detect_cycle (
THREAD_ENTRY * thread_p,
WFG_CYCLE_CASE * cycle_case,
WFG_CYCLE ** list_cycles_p
)
function wfg_dump¶
function wfg_free_cycle¶
function wfg_free_nodes¶
function wfg_get_status¶
function wfg_get_tran_entries¶
function wfg_insert_holder_tran_group¶
int wfg_insert_holder_tran_group (
THREAD_ENTRY * thread_p,
const int tran_group_index,
const int holder_tran_index
)
function wfg_insert_out_edges¶
int wfg_insert_out_edges (
THREAD_ENTRY * thread_p,
const int wtran_index,
int num_holders,
const int * htran_indices,
int (*)( int tran_index, void *args) cycle_resolution_fn,
void * args
)
function wfg_insert_waiter_tran_group¶
int wfg_insert_waiter_tran_group (
THREAD_ENTRY * thread_p,
const int tran_group_index,
const int waiter_tran_index,
int (*)( int tran_index, void *args) cycle_resolution_fn,
void * args
)
function wfg_is_tran_group_waiting¶
function wfg_is_waiting¶
function wfg_remove_holder_tran_group¶
int wfg_remove_holder_tran_group (
THREAD_ENTRY * thread_p,
const int tran_group_index,
const int holder_tran_index
)
function wfg_remove_out_edges¶
int wfg_remove_out_edges (
THREAD_ENTRY * thread_p,
const int waiter_tran_index,
const int num_holders,
const int * htran_indices_p
)
function wfg_remove_waiter_tran_group¶
int wfg_remove_waiter_tran_group (
THREAD_ENTRY * thread_p,
const int tran_group_index,
const int waiter_tran_index
)
The documentation for this class was generated from the following file cubrid/src/transaction/wait_for_graph.h