|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
CVS: cvs.openbsd.org: src
From: Theo de Raadt (deraadt
cvs.openbsd.org)
Date: Fri Dec 02 2005 - 10:54:26 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
CVSROOT: /cvs
Module name: src
Changes by: deraadt
cvs.openbsd.org 2005/12/02 09:54:25
Modified files:
lib/libevent : signal.c
Log message:
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
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]