Boost logo

Boost :

From: Ariel Badichi (abadichi_at_[hidden])
Date: 2005-08-19 22:28:42


Christopher Kohlhoff wrote:
>
> There's a simpler way to do what you want. Just call
> demuxer.work_started() before calling demuxer.run(), and then call
> demuxer.work_finished() when you're ready to shut down.
>
> These functions are provided to ensure that demuxer.run() does not exit
> when an asynchronous operation (the "work") is being carried out by
> something external to the demuxer (such as a thread).
>

I see, thanks!


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