diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2000-11-16 20:02:22 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2000-11-16 20:02:22 +0000 |
commit | e4e19f48e436ae522921b35940bd8ecaaf14c2df (patch) | |
tree | 3667a5746513529576541577c61116a26890b3ea /sys/kern/uipc_socket2.c | |
parent | cc6435e3abcd82c3915650627ead7b32a29a701b (diff) |
support kernel event queues, from FreeBSD by Jonathan Lemon,
okay art@, millert@
Diffstat (limited to 'sys/kern/uipc_socket2.c')
-rw-r--r-- | sys/kern/uipc_socket2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c index 4dd7419a52a..68cb8c9eca2 100644 --- a/sys/kern/uipc_socket2.c +++ b/sys/kern/uipc_socket2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_socket2.c,v 1.14 2000/02/29 19:16:46 itojun Exp $ */ +/* $OpenBSD: uipc_socket2.c,v 1.15 2000/11/16 20:02:19 provos Exp $ */ /* $NetBSD: uipc_socket2.c,v 1.11 1996/02/04 02:17:55 christos Exp $ */ /* @@ -47,6 +47,7 @@ #include <sys/socket.h> #include <sys/socketvar.h> #include <sys/signalvar.h> +#include <sys/event.h> /* * Primitive routines for operating on sockets and socket buffers @@ -324,6 +325,7 @@ sowakeup(so, sb) } if (so->so_state & SS_ASYNC) csignal(so->so_pgid, SIGIO, so->so_siguid, so->so_sigeuid); + KNOTE(&sb->sb_sel.si_note, 0); } /* |