Freeciv-3.3
|
Go to the source code of this file.
Variables | |
static at_thread_exit_cb * | ate_cb = nullptr |
Called at thread exit by all the thread implementations.
Definition at line 49 of file fcthread.c.
void fc_thread_cond_destroy | ( | fc_thread_cond * | cond | ) |
Dummy fc_thread_cond_destroy()
Definition at line 470 of file fcthread.c.
Referenced by texai_control_lost().
void fc_thread_cond_init | ( | fc_thread_cond * | cond | ) |
Dummy fc_thread_cond_init()
Definition at line 464 of file fcthread.c.
Referenced by texai_control_gained().
void fc_thread_cond_signal | ( | fc_thread_cond * | cond | ) |
Dummy fc_thread_cond_signal()
Definition at line 482 of file fcthread.c.
Referenced by texai_msg_to_thr().
void fc_thread_cond_wait | ( | fc_thread_cond * | cond, |
fc_mutex * | mutex | ||
) |
Dummy fc_thread_cond_wait()
Definition at line 476 of file fcthread.c.
Referenced by texai_thread_start().
Has freeciv thread condition variable implementation
Definition at line 490 of file fcthread.c.
Referenced by fc_ai_tex_setup().
bool register_at_thread_exit_callback | ( | at_thread_exit_cb * | cb | ) |
Register callback to be called whenever a thread finishes. This can be called only once. Latter calls will cause an error message and return FALSE.
Definition at line 32 of file fcthread.c.
|
static |
Definition at line 25 of file fcthread.c.
Referenced by at_thread_exit(), and register_at_thread_exit_callback().