diff options
author | kib <kib@FreeBSD.org> | 2008-05-10 11:37:05 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-05-10 11:37:05 +0000 |
commit | 9a39931e9b38b41d89ceff4cce90f53d0481fc8f (patch) | |
tree | b0a19b1d462442a84e999ac884cce5589c1c0243 /lib/libc/stdio/fdopen.c | |
parent | 0f388c4977a67dd0f9ef74c78b2ce8af28a78eee (diff) | |
download | FreeBSD-src-9a39931e9b38b41d89ceff4cce90f53d0481fc8f.zip FreeBSD-src-9a39931e9b38b41d89ceff4cce90f53d0481fc8f.tar.gz |
Kqueue_scan() may sleep when encountered the influx knotes. On the other
hand, it may cause other threads to sleep since kqueue_scan() may mark
some knotes as infux. This could lead to the deadlock.
Before kqueue_scan() sleeps, wakeup the threads that are waiting for the
influx knotes produced by this thread.
Tested by: pho (previous version)
Reviewed by: jmg
MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdio/fdopen.c')
0 files changed, 0 insertions, 0 deletions