Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] posting a function to an io_service object
From: Vilhelm Sundberg (vilhelmsundberg_at_[hidden])
Date: 2009-12-28 17:37:09


Thank you for your answer, Igor.

I need a work object as the io_service not always has real work to do,
resetting the work shared_ptr before join() is the right solution for
me. A conditional variable is definitely a more elegant approach, I
might give it a go. :)

Happy new year to you all.

Vil


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net