Do signals "interrupt" all blocking syscalls with EINTR?
From: Greg Law (glaw_at_nexwave-solutions.com)
Date: 05/17/05
- Next message: New User: "GoAhead web server download problem"
- Previous message: Tobias Kines: "reset device statistics"
- Next in thread: Michael Kerrisk: "Re: Do signals "interrupt" all blocking syscalls with EINTR?"
- Reply: Michael Kerrisk: "Re: Do signals "interrupt" all blocking syscalls with EINTR?"
- Reply: Kasper Dupont: "Re: Do signals "interrupt" all blocking syscalls with EINTR?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 17 May 2005 11:59:21 -0700
Hi group,
Can I assume that _any_ blocking system call will be interrupted by a
signal and return EINTR?
I know that some of the POSIX spec guarantees some things won't be
(e.g. pthread_cond_wait), but this is implemented at the layer above
the kernel. I'm interested only in real system-calls, not library
calls.
Cheers,
Greg
- Next message: New User: "GoAhead web server download problem"
- Previous message: Tobias Kines: "reset device statistics"
- Next in thread: Michael Kerrisk: "Re: Do signals "interrupt" all blocking syscalls with EINTR?"
- Reply: Michael Kerrisk: "Re: Do signals "interrupt" all blocking syscalls with EINTR?"
- Reply: Kasper Dupont: "Re: Do signals "interrupt" all blocking syscalls with EINTR?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]