On Fri, Feb 29, 2008 at 01:32:55PM +0900, sqweek wrote:
I see what you mean... is there a race here? With everything shutting down I expect there's some activity on /event (DestroyClients at least). wmii doesn't have a massive window to shut down between wmiir's ixp_read()s, but I guess you don't need long to close a socket.
Yes, there's a race. And it's probably not so simple to fix it as sending zero-length RReads, but I'll think about it some.
It's not obvious to me how you would get a broken pipe if the read was pending when wmii quit. -sqweek
-- Kris Maglione Assumption is the mother of all foul-ups. PGP: http://suckless.org/~jg/pubkey.pgp SHA1 (pubkey.pgp) = 2d464f9dbb186bee6f4faa88e2f6c5802bcfd935
pgpJeBwZpAMCD.pgp
Description: PGP signature
