diff options
author | jasone <jasone@FreeBSD.org> | 2000-01-14 02:53:29 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2000-01-14 02:53:29 +0000 |
commit | 241bd93929c50045d997159647c990ce30a09b38 (patch) | |
tree | e533e938e06d1bbf52b15ac617cd9ac2788c42ed /sys/kern/uipc_socket.c | |
parent | 5955c7b34496a4da6142bb7a85bdab015975afce (diff) | |
download | FreeBSD-src-241bd93929c50045d997159647c990ce30a09b38.zip FreeBSD-src-241bd93929c50045d997159647c990ce30a09b38.tar.gz |
Add aio_waitcomplete(). Make aio work correctly for socket descriptors.
Make gratuitous style(9) fixes (me, not the submitter) to make the aio
code more readable.
PR: kern/12053
Submitted by: Chris Sedore <cmsedore@maxwell.syr.edu>
Diffstat (limited to 'sys/kern/uipc_socket.c')
-rw-r--r-- | sys/kern/uipc_socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c index cdf81ba..6355dd0 100644 --- a/sys/kern/uipc_socket.c +++ b/sys/kern/uipc_socket.c @@ -94,6 +94,7 @@ soalloc(waitok) bzero(so, sizeof *so); so->so_gencnt = ++so_gencnt; so->so_zone = socket_zone; + TAILQ_INIT(&so->so_aiojobq); } return so; } |