News for hackers. Stuff that matters.
Re:Unix System Call Timeouts by TheDong on Sunday March 12, 2017 @10:52PM (#13854909)
> How is a syscall-level timeout more useful than a whole-application watchdog for handling flaky mounted filesystems?

It's more useful because once you enter into a syscall, it's out of the application's control.

The kernel's off in its happy place doing whatever it does, and the application has no control over that other than being able to specify timeouts to begin with or having async epoll-like interfaces.

Re:Unix System Call Timeouts by AstralStorm on Monday March 13, 2017 @03:41AM (#13855917)
You can also interrupt syscalls using signals or pthread_cancel.
Re:Unix System Call Timeouts by ec109685 on Monday March 13, 2017 @12:28AM (#13855230)
s/application/thread/