News for hackers. Stuff that matters.
Re:Unix System Call Timeouts by geofft on Monday March 13, 2017 @10:22AM (#13858001)
pthread_cancel to abort a syscall is usually internally implemented by sending the thread a signal (on glibc, it's one of the real-time signals below SIGRTMIN), causing the syscall to return EINTR. So it's the same logic as SIGALRM, essentially.

(And for some system calls, like certain NFS operations, they aren't interruptible by a signal of any sort other than perhaps SIGKILL.)

There are no comments on this comment yet.