summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2005-06-04 19:16:33 +0000
committeralc <alc@FreeBSD.org>2005-06-04 19:16:33 +0000
commit369cab6800d25131e3b41b7b42d49507df962cfb (patch)
tree7bf14a2208ac4b61312d9aad3fa19a3d1ca782cd /lib/libc
parent497a5998afc4581a2a4909ccdd39c877d8672fb8 (diff)
downloadFreeBSD-src-369cab6800d25131e3b41b7b42d49507df962cfb.zip
FreeBSD-src-369cab6800d25131e3b41b7b42d49507df962cfb.tar.gz
Eliminate the original method of requesting notification of aio_read(2) and
aio_write(2) completion through kevent(2). This method does not work on 64-bit architectures. It was deprecated in FreeBSD 4.4. See revisions 1.87 and 1.70.2.7. Change aio_physwakeup() to call psignal(9) directly rather than indirectly through a timeout(9). Discussed with: bde Correct a bug introduced in revision 1.65 that could result in premature delivery of a signal if an lio_listio(2) consisted of a mixture of direct/raw and queued I/O operations. Observed by: tegge Eliminate a field from struct kaioinfo that is now unused. Reviewed by: tegge
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/kqueue.29
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2
index 5e84e8a..9c088c7 100644
--- a/lib/libc/sys/kqueue.2
+++ b/lib/libc/sys/kqueue.2
@@ -324,15 +324,6 @@ returned by the
.Fn aio_*
system call.
The filter returns under the same conditions as aio_error.
-.Pp
-Alternatively, a kevent structure may be initialized, with
-.Va ident
-containing the descriptor of the kqueue, and the
-address of the kevent structure placed in the
-.Va aio_lio_opcode
-field of the AIO request.
-However, this approach will not work on
-architectures with 64-bit pointers, and should be considered deprecated.
.It EVFILT_VNODE
Takes a file descriptor as the identifier and the events to watch for in
.Va fflags ,
OpenPOWER on IntegriCloud