Tor 0.4.9.3-alpha-dev
|
Data Fields | |
log_domain_mask_t | log_domain |
pid_t | pid |
periodic_timer_t * | e |
tor_procmon_callback_t | cb |
void * | cb_arg |
tor_procmon_callback_t cb |
A callback to be called when the process ends.
Definition at line 148 of file procmon.c.
Referenced by tor_process_monitor_new(), and tor_process_monitor_poll_cb().
void* cb_arg |
A user-specified pointer to be passed to cb.
Definition at line 149 of file procmon.c.
Referenced by tor_process_monitor_new(), and tor_process_monitor_poll_cb().
A Libevent event structure, to either poll for the process's existence or receive a notification when the process ends.
Definition at line 145 of file procmon.c.
Referenced by tor_process_monitor_free_(), and tor_process_monitor_new().
log_domain_mask_t log_domain |
Log domain for warning messages.
Definition at line 104 of file procmon.c.
Referenced by tor_process_monitor_new(), and tor_process_monitor_poll_cb().
pid_t pid |
All systems: The best we can do in general is poll for the process's existence by PID periodically, and hope that the kernel doesn't reassign the same PID to another process between our polls.
Definition at line 110 of file procmon.c.
Referenced by tor_process_monitor_new(), and tor_process_monitor_poll_cb().