Boost logo

Boost Users :

Subject: Re: [Boost-users] General design question about threading/concurrency
From: Ray Burkholder (ray_at_[hidden])
Date: 2010-10-24 17:10:59


> I'm not aware of any task management stuff that comes with the boost
> libraries. boost::thread is pretty much a straightforward wrapper to
> lower-level threading concepts.
>
> > I am writing a program that needs to run N simulations with N >10
> 000.
> > Obviously, I cannot instantiate N threads at the same time but I
> cannot run
> > the simulations sequentially either.
> > Can anyone please advise me how to design my program using the boost
> > threading library and concepts please?

Try boost::asio, it has the concept of a server and of reusable worker
threads.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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