Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
uv_loop_t * | create_loop () |
void | signal_handler (uv_signal_t *handle, int signum) |
void | thread1_worker (void *userp) |
void | thread2_worker (void *userp) |
int | main () |
uv_loop_t* create_loop | ( | ) |
Definition at line 6 of file main.c.
References loop, malloc(), and uv_loop_init().
Referenced by thread1_worker(), and thread2_worker().
int main | ( | void | ) |
Definition at line 54 of file main.c.
References printf(), thread1_worker(), thread2_worker(), uv_thread_create(), and uv_thread_join().
void signal_handler | ( | uv_signal_t * | handle, |
int | signum | ||
) |
Definition at line 15 of file main.c.
References handle, printf(), signum, and uv_signal_stop().
void thread1_worker | ( | void * | userp | ) |
Definition at line 22 of file main.c.
References create_loop(), signal_handler(), uv_run(), UV_RUN_DEFAULT, uv_signal_init(), and uv_signal_start().
Referenced by main().
void thread2_worker | ( | void * | userp | ) |
Definition at line 37 of file main.c.
References create_loop(), signal_handler(), uv_run(), UV_RUN_NOWAIT, uv_signal_init(), and uv_signal_start().
Referenced by main().