[cpp-threads] Asynchronous Execution Issues
Anthony Williams
anthony at justsoftwaresolutions.co.uk
Sat Apr 25 10:16:29 BST 2009
At Sat 25 Apr 2009 02:45:24 BST, Herb Sutter <hsutter at microsoft.com> wrote:
> The above is exactly that we need, IMO. That is the key distinction
> that affects the program semantics: Am I guaranteed to run on
> another thread, or not?
Agreed. If the task may run on the same thread then you need to know
this because it affects what you can do on the task (and the
task-launching thread). There are uses for this kind of fork-join
semantics, but I think this is separate from a general purpose basic
async function.
Anthony
--
Anthony Williams
Author of C++ Concurrency in Action | http://www.manning.com/williams
just::thread C++0x thread library | http://www.stdthread.co.uk
Custom Software Development | http://www.justsoftwaresolutions.co.uk
Just Software Solutions Ltd, Registered in England, Company Number 5478976.
Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK
More information about the cpp-threads
mailing list