]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make sure to wake up any select waiters when closing a kqueue (also, not
authorBrian Feldman <green@FreeBSD.org>
Fri, 20 Feb 2004 04:00:48 +0000 (04:00 +0000)
committerBrian Feldman <green@FreeBSD.org>
Fri, 20 Feb 2004 04:00:48 +0000 (04:00 +0000)
commitfe5f3a72ac5278a825f4d45d0398ab13fbad8b80
tree21de92dfa711b878f420f34736c8c3e2f097061d
parent6b582d5433c0b040b1114b53bd3cee87a17a0e25
Make sure to wake up any select waiters when closing a kqueue (also, not
crash).  I am fairly sure that only people with SMP and multi-threaded
apps using kqueue will be affected by this, so I have a stress-testing
program on my web site:
<URL:http://green.homeunix.org/~green/getaddrinfo-pthreads-stresstest.c>
sys/kern/kern_event.c