mux 2006-02-08 15:40:01 UTC
FreeBSD projects repository
Modified files:
csup mux.c
Log:
Fix a race condition in mux_fini() where we were checking the "closed"
flag without holding the multiplexer lock, so it was possible to have
two threads racing for the shutdown. Fix this by calling mux_shutdown()
unconditionally in mux_fini() and by checking the closed flag in
mux_shutdown() when we hold the multiplexer lock.
Revision Changes Path
1.59 +7 -4 projects/csup/mux.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"