Interrupted System Call

Peter Neubauer peterneubauer2 at gmail.com
Sat Jul 26 00:51:56 PDT 2008


Sean Kelly wrote:
> 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

Thanks for your answers, switching to Tango has solved my problem.

-Peter


More information about the Digitalmars-d-learn mailing list