Skip to content

util: replace most of SIGALRM blocks with EINTR checks

Peter Hutterer requested to merge whot/libei:wip/dont-block-sigalrm into main

Note: this is !261 (merged) re-filed because some infrastructure issues caused the commits to get lost

SIGALRM should not really be an issue for us, most of our IO shouldn't take long (posix_fallocate is the exception) so we can just retry it instead of blocking someone's use of SIGALRM.

Doing it here mostly means that the rest of libei doesn't have to care about EINTR, it'll just be handled transparently (just like before with the SIGALRM blocks).

Merge request reports

Loading