Socket.select interrupted system call because of GC

dennis luehring dl.soluz at gmx.net
Sat Aug 3 03:40:22 PDT 2013


Am 03.08.2013 08:38, schrieb Marek Janukowicz:
> void main ()
> {
>    writefln( "sa: %d", SA_RESTART );
>    (new Thread (&serverfunc)).start();
>    (new Thread (&clientfunc)).start();
> }

i have no idea to your main problem but firing threads without any join 
on the threads in your main program seems very wrong to me - its like 
allocating memory and let system kill process handle the zombies



More information about the Digitalmars-d-learn mailing list