summaryrefslogtreecommitdiff
path: root/sys/arch/arm
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-02 16:54:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-02 16:54:26 +0000
commit5c6b3cad305f675016bb58c0e9695b8b34e4a897 (patch)
tree73937bb6b135ba7b68477a0fe6c59d3bb309a0d1 /sys/arch/arm
parent01f701c1b9bda9ac45d9b15f88eea9ffd76cbce4 (diff)
make write-end of signal socketpair non-blocking.
every signal received writes 1 byte to the socketpair. if you are outside the libevent main loop too long, the socketpair might fill up. that write would then block, in a signal handler. related to this, yesterdy we changed the signal handler to not trash errno. as for the read end, there will be multiple libevent reads off the socketpair (100 bytes at a time) until the socketpair is empty again ok provos
Diffstat (limited to 'sys/arch/arm')
0 files changed, 0 insertions, 0 deletions