Boost logo

Boost :

From: Boris (boriss_at_[hidden])
Date: 2008-08-07 04:51:27


On Thu, 07 Aug 2008 03:00:39 +0200, Felipe Magno de Almeida
<felipe.m.almeida_at_[hidden]> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk