#ifndef DCPOMATIC_SIGNAL_MANAGER_H
#define DCPOMATIC_SIGNAL_MANAGER_H
-#include <boost/bind.hpp>
#include <boost/asio.hpp>
#include <boost/thread.hpp>
/** Call this in the UI when it is idle */
size_t ui_idle () {
- /* This executes any functors that have been post()ed to _service */
- return _service.poll ();
+ /* This executes one of the functors that has been post()ed to _service */
+ return _service.poll_one ();
}
/** This should wake the UI and make it call ui_idle() */