summaryrefslogtreecommitdiff
path: root/src/common/procmon.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-09 13:45:27 -0400
committerNick Mathewson <nickm@torproject.org>2014-06-14 11:40:27 -0400
commit4ed03965a5a412bf58540e678f48f6c331ad30d9 (patch)
tree3f5b5783104d00129773c2e07a170b824373cf57 /src/common/procmon.c
parent87e16087b74d1348a1500a24cce238a2463822dc (diff)
downloadtor-4ed03965a5a412bf58540e678f48f6c331ad30d9.tar.gz
tor-4ed03965a5a412bf58540e678f48f6c331ad30d9.zip
New waitpid-handler functions to run callbacks when a child exits.
Also, move 'procmon' into libor_event library, since it uses libevent.
Diffstat (limited to 'src/common/procmon.c')
-rw-r--r--src/common/procmon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/procmon.c b/src/common/procmon.c
index 0a49689e3a..7c9b7c3c88 100644
--- a/src/common/procmon.c
+++ b/src/common/procmon.c
@@ -162,6 +162,7 @@ tor_validate_process_specifier(const char *process_spec,
return parse_process_specifier(process_spec, &ppspec, msg);
}
+/* XXXX we should use periodic_timer_new() for this stuff */
#ifdef HAVE_EVENT2_EVENT_H
#define PERIODIC_TIMER_FLAGS EV_PERSIST
#else