Esempio n. 1
0
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();
}
Esempio n. 2
0
void niam(int sig)
{
    dispatcher.leave();
    delete panel;

    // quit panel agent loop
    if (panel_agent)
        panel_agent->stop();
}
Esempio n. 3
0
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();
}
Esempio n. 4
0
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;
}
Esempio n. 5
0
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();
}
Esempio n. 8
0
void niam(int sig)
{
  spin = false;

  dispatcher.leave();
}