> The other thing is, how can a system call block a thread but somehow that same thread runs other stuff in between that blocking call? Even if that is possible that sounds like a dangerous game to play, and this class of bugs seems natural.
I mean, signal handlers exist on Linux, too ...
> when you have a blocking syscall interrupted you will get a sigabort on linux
Doesn't the syscall just return EINTR?