Re: Ctrl+C doesn't interrupt process waiting for I/O

From: Alan Cox
Date: Sun Jun 29 2008 - 08:55:53 EST


> Applications should not assume that write() (or other syscalls) can't
> return EINTR. Not all filesystems have a bounded-time backing store.

Unix tradition (and thus almost all applications) believe file store
writes to be non signal interruptible. It would not be safe or practical
to change that guarantee.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/