[cpp-threads] Asynchronous Function Proposal

Lawrence Crowl Lawrence at Crowl.org
Mon Jun 1 20:01:42 BST 2009


On 6/1/09, Peter Dimov <pdimov at mmltd.net> wrote:
> Beman Dawes:
> > As Herb pointed out, this makes it look like we have serious
> > problems with the current future interface and/or the current
> > thread interface. I very much want to hear what Howard,
> > Anthony, and others with a deep understanding of standard
> > library threads/futures/promises have to say about these issues.
>
> I've pointed out many times that the thread class needs "proper"
> join semantics, including try_join and timed_join.

And the primary reason for the async_future would go away.  We'd
still have to decide what to do about functions that are called
rather than synchronized.

-- 
Lawrence Crowl



More information about the cpp-threads mailing list