Spawn threads and receive/send

Ali Çehreli acehreli at yahoo.com
Sun Apr 15 09:09:58 PDT 2012


On 04/15/2012 03:03 AM, Luis Panadero Guardeño wrote:
> Auto response :
>
> the main thread ends, and It signal func to end, so It never receive
> any message from clock. I fix it, doing that main sleep 1000 seconds
> after sending func Tid to clock

This too should work at the end of main():

     thread_joinAll();

Ali


More information about the Digitalmars-d-learn mailing list