tor  master
Data Fields
tor_process_monitor_t Struct Reference
Collaboration diagram for tor_process_monitor_t:
Collaboration graph
[legend]

Data Fields

log_domain_mask_t log_domain
 
pid_t pid
 
periodic_timer_te
 
tor_procmon_callback_t cb
 
void * cb_arg
 

Field Documentation

◆ cb

tor_procmon_callback_t cb

A callback to be called when the process ends.

◆ cb_arg

void* cb_arg

A user-specified pointer to be passed to cb.

◆ e

A Libevent event structure, to either poll for the process's existence or receive a notification when the process ends.

◆ log_domain

log_domain_mask_t log_domain

Log domain for warning messages.

◆ pid

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.


The documentation for this struct was generated from the following file: