[cpp-threads] Asynchronous Function Proposal
k-oli at gmx.de
k-oli at gmx.de
Mon Jun 1 20:02:20 BST 2009
Am Montag 01 Juni 2009 00:59:07 schrieb Lawrence Crowl:
> Please take a look at the attacked draft proposal for the async
> function. Comments are encouraged.
Hello,
because boost.task was mentioned in Lawrence's draft I'd like to tell you that
the code is available from boost vault (http://www.boostpro.com/vault/ ->
section 'Concurrent Programming ') or boost sandbox
(https://svn.boost.org/svn/boost/sandbox/task/).
The library implements some of the proposals made in this mailing list.
Instead of using enums function async() takes two arguments - an async
executor (function object) and a task (a callable with an idenitifer).
Boost.Task provides own_thread, new_thread, default_pool and as_sub_task. The
user could also apply it sown async- executor (for instance a custom thread-
pool with priority scheduling).
Maybe the proposed library can help to evaluate the interface in this context
for C++-0x.
best regards,
Oliver
More information about the cpp-threads
mailing list