|
BitLab 0.1.0
BitLab: A Browser for the Bitcoin P2P Network and Blockchain
|
The program state structure used to store the state of the program. More...
#include <state.h>
Data Fields | |
| pid_t | pid |
| time_t | start_time |
| bool | started_with_parameters |
| volatile sig_atomic_t | exit_flag |
| pthread_mutex_t | exit_flag_mutex |
The program state structure used to store the state of the program.
| pid | The process ID of the program. |
| start_time | The start time of the program. |
| started_with_parameters | The flag to indicate if the program started with CLI parameters. |
| exit_flag | The exit flag of the program. |
| exit_flag_mutex | The mutex to protect the exit flag. |
| volatile sig_atomic_t program_state::exit_flag |
Definition at line 31 of file state.h.
Referenced by get_exit_flag(), init_program_state(), and set_exit_flag().
| pthread_mutex_t program_state::exit_flag_mutex |
Definition at line 32 of file state.h.
Referenced by destroy_program_state(), get_exit_flag(), init_program_state(), mark_started_with_parameters(), and set_exit_flag().
| pid_t program_state::pid |
Definition at line 28 of file state.h.
Referenced by get_pid(), init_program_state(), and print_program_state().
| time_t program_state::start_time |
Definition at line 29 of file state.h.
Referenced by get_elapsed_time(), get_start_time(), and init_program_state().
| bool program_state::started_with_parameters |
Definition at line 30 of file state.h.
Referenced by mark_started_with_parameters(), and print_program_state().