void preUpdateHandler() { debugOutput( DEBUG_LEVEL_NORMAL, "got pre-update notification...\n" ); // stop receiving dbus events since the control structure is going to // be changed dispatcher.leave(); }
void niam(int sig) { dispatcher.leave(); delete panel; // quit panel agent loop if (panel_agent) panel_agent->stop(); }
void niam(int sig) { DBus::Connection conn = systembus ? DBus::Connection::SystemBus() : DBus::Connection::SessionBus(); IntrospectedObject io(conn, path, service); std::cout << io.Introspect(); dispatcher.leave(); }
static void* panel_agent_run(void* data) { panel_agent->run(); delete panel_agent; panel_agent = 0; // quit dbus loop dispatcher.leave(); pthread_detach(pthread_self()); return NULL; }
static void sighandler (int sig) { run = 0; dispatcher.leave(); sem_post(&run_sem); }
void niam(int sig) { dispatcher.leave(); }
void AsyncClient::Timed_WaitCallback(const ::DBus::Error& e, void *data) { cout << "reply from Timed_Wait" << endl; dispatcher.leave(); }
void niam(int sig) { spin = false; dispatcher.leave(); }