in reply to Re^2: named pipe and "Text file busy"
in thread named pipe and "Text file busy"

Is there really any guarantee that the SIGINT will be caught by the right thread? you could try forking which would be ok in this respect.

Then the ETXTBSY (errno 26) is weird. I see the error only with open(2) but not read(2) or write(2). Cannot reproduce it on hp testdrive.

cheers --stephan