Dave Abrahams wrote:
[...]
> > 2) You're still hiding the thread creation.
> 
> Absolutely.  High-level vs. low-level.

Yeah ...

> 
> > This is a mistake to me for
> > two reasons.  First, it's not as obvious that a thread is being created
> > here (though the new names help a lot).
> 
> Unimportant, IMO.  Who cares how an async_call is implemented under the
> covers?

... but to me, that "async_call"-thing is nothing but "a future" [one 
would also need an "executor" to make some use of it]. I can think of 
"a thread" as a sort of "executor" but not the other way around.

http://gee.cs.oswego.edu/dl/concurrent/dist/docs/java/util/concurrent/Future.html
http://gee.cs.oswego.edu/dl/concurrent/dist/docs/java/util/concurrent/Executor.html
http://gee.cs.oswego.edu/dl/concurrency-interest

regards,
alexander.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to