Preventing deadlocks on the event queue.
Pawel Jakub Dawidek
nick at garage.freebsd.pl
Sun Jan 25 15:47:56 PST 2004
Hello.
So, I think I've found clever way to prevents deadlock caused by
calling g_waitfor_event() from an event.
My idea is to check if curthread in g_waitfor_event() is a g_event thread.
http://garage.freebsd.pl/patches/geom_event_deadlock.patch
--
Pawel Jakub Dawidek pawel at dawidek.net
UNIX Systems Programmer/Administrator http://garage.freebsd.pl
Am I Evil? Yes, I Am! http://cerber.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20040126/672f2e8d/attachment.bin
More information about the freebsd-geom
mailing list