Boost logo

Boost Users :

Subject: Re: [Boost-users] [threadpool] from your experience, is it safe to use threadpool with recent boost release?
From: niXman (i.nixman_at_[hidden])
Date: 2013-01-30 16:10:23


2013/1/31 Klaim - Joël Lamotte:
> Actually it is often suggested to use boost::asio like there:
> http://progsch.net/wordpress/?p=71
> Not sure of the limitations thought.

Here only the destructor of a ThreadPool doesn't wait completions of
all tasks :)
Original version: http://liveworkspace.org/code/3gLtD4$0
Modified version: http://liveworkspace.org/code/3gLtD4$1

-- 
Regards,
niXman
___________________________________________________
Dual-target(32 & 64-bit) MinGW compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingwbuilds/
___________________________________________________
Another online IDE: http://liveworkspace.org/

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