From 5808a99052229b69707c0fdc0abcdf37dd6c3b60 Mon Sep 17 00:00:00 2001 From: Arnon Gilboa Date: Sun, 17 Oct 2010 11:45:50 +0200 Subject: spicec: add ProcessLoop::on_start_running() --- client/process_loop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/process_loop.cpp') diff --git a/client/process_loop.cpp b/client/process_loop.cpp index 5337c36a..ec9cdd24 100644 --- a/client/process_loop.cpp +++ b/client/process_loop.cpp @@ -263,7 +263,6 @@ ProcessLoop::ProcessLoop(void* owner) , _quitting (false) , _exit_code (0) , _started (false) - { _event_sources.add_trigger(_wakeup_trigger); } @@ -277,6 +276,7 @@ int ProcessLoop::run() { _thread = pthread_self(); _started = true; + on_start_running(); for (;;) { if (_event_sources.wait_events(_timers_queue.get_soonest_timeout())) { _quitting = true; -- cgit