
28 Dec
2009
28 Dec
'09
10:37 p.m.
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