diff options
author | 2000-11-16 20:02:15 +0000 | |
---|---|---|
committer | 2000-11-16 20:02:15 +0000 | |
commit | 1a12e8a7ab11e47f6fb18cdbc03b05e8885dfcad (patch) | |
tree | 21c49b483d84ca5ca2b0b9f8491c15f7b579b1f3 /sys/kern/uipc_socket2.c | |
parent | Add uscanner.c. (diff) | |
download | wireguard-openbsd-1a12e8a7ab11e47f6fb18cdbc03b05e8885dfcad.tar.xz wireguard-openbsd-1a12e8a7ab11e47f6fb18cdbc03b05e8885dfcad.zip |
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); } /* |