
7 Aug
2008
7 Aug
'08
8:51 a.m.
On Thu, 07 Aug 2008 03:00:39 +0200, Felipe Magno de Almeida <felipe.m.almeida@gmail.com> wrote:
[...]Can a service be appended to a io_service, and have its own demultiplexer function control the thread running the run member function? The selector_service wouldn't work either I think. Any way this could be accomplished?
I've created a simple file monitor for Boost.Asio which notifies an application when a file is changed. You can download the source from http://www.highscore.de/boost/file_monitor.zip. It's not complete but as it is not much code it should give you an idea how to handle new events. Boris