$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] General design question about threading/concurrency
From: Igor R (boost.lists_at_[hidden])
Date: 2010-10-24 17:09:08
> 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 would usually build up some kind of task queue/stack that is either
> locking or concurrent and non-locking that manages the tasks.
FWIW, Boost.Thread has now futures:
http://www.boost.org/doc/libs/1_44_0/doc/html/thread/synchronization.html#thread.synchronization.futures
and there's ASIO, which already provides a kind of queue that you're
talking about.