Interrupted System Call

Sean Kelly sean at invisibleduck.org
Wed Jul 23 09:00:59 PDT 2008


Peter Neubauer wrote:
> Hello everyone,
> 
> I've been getting the error message "Interrupted System Call" a lot 
> lately, ever since I started using threads in D. It appears whenever one 
> of the threads in my application creates and uses an associative array 
> while another thread executes a blocking system call such as readln or 
> receive on sockets.

I imagine you're using Phobos?  Phobos omits some signal flags to tell 
the OS to try and resume system calls if they are interrupted by a 
garbage collection cycle.  Tango sets them properly.


Sean


More information about the Digitalmars-d-learn mailing list