Threading Question

Peter Sommerfeld noreply at rubrica.at
Thu Oct 25 16:53:27 PDT 2012


Sean Kelly <sean at invisibleduck.org> wrote:
[snip]
> In D, the main thread will join all non-daemon threads before calling  
> static dtors or performing any other cleanup.  Daemon threads will  
> continue to run until the process exits.  So daemon threads are  
> basically just C-style kernel threads.
[snip]
> The GC in D uses SIGUSR1 and SIGUSR2 to coordinate collections on Posix  
> OSes (except for OSX).  You're free to use any other signal just as you  
> would in C.

Thanks for clarification Sean!

Peter


More information about the Digitalmars-d-learn mailing list