John Ericson
cb95791198
MonitorFdHup: introduce a num_fds variable
...
Better than just putting `1` in multiple spots.
2025-03-23 18:23:07 -04:00
John Ericson
d028bb4c4a
MonitorFdHup: Cleanup a bit with designated initializers
2025-03-23 18:23:07 -04:00
Jörg Thalheim
8e0bc2c3a8
MonitorFdHup: raise explicit SysError rather unreachable
...
Syscalls can fail for many reasons and we don't want to loose the errno
and error context.
2025-03-23 18:22:48 -04:00
John Ericson
041394b741
monitor-fd.hh: Format
...
It's a pretty small diff, so let's just start formatting before we make
other changes.
2025-03-23 18:00:36 -04:00
Robert Hensing
3172e88af5
Make abort() call sites log first
2024-07-24 16:52:04 +02:00
John Ericson
50f621b241
Better signals interface
...
This avoids some CPP and accidentally using Unix stuff in client code.
2024-04-05 01:38:28 -04:00
John Ericson
02fa20622f
Start factoring out Unix assumptions
...
This splits files and adds new identifiers in preperation for supporting
windows, but no Windows-specific code is actually added yet.
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2024-04-02 14:43:38 -04:00