Waiting for a Spawn'ed process

Ali Çehreli acehreli at yahoo.com
Fri Mar 28 14:02:48 PDT 2014


On 03/28/2014 11:43 AM, Sharad Gupta wrote:

 > But this is another spawned process. How can I tell this second process
 > to wait on the first one.

std.concurrency is based on message passing. Normally, the second 
process would send a message either to its owner or to another thread 
that was previously register()'ed.

If message passing does not work for you then you may need to use 
lower-level modules like core.thread.

Ali



More information about the Digitalmars-d-learn mailing list