concurrency

Sean Kelly sean at f4.ca
Sun Feb 3 22:27:09 PST 2008


Bedros Hanounik wrote:
> I think the best way to tackle concurrency is to have two types of functions
> 
> blocking functions (like in the old sequential code execution)
> 
> and non-blocking functions (the new parallel code execution)
> 
> for non-blocking functions, the function returns additional type which is true when function execution is completed

This is basically how futures work.  It's a pretty useful approach.


Sean



More information about the Digitalmars-d mailing list