diff options
author | alc <alc@FreeBSD.org> | 2000-11-21 19:36:36 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2000-11-21 19:36:36 +0000 |
commit | dfa19cb0cec51bbb1fba802ceae5f4b58cad3892 (patch) | |
tree | f94c70c4fa02e59eaa647c43646fa01b3f50e088 /sys/alpha/include/cpu.h | |
parent | e4af8551d901ed0a27dbc1149b09d6ce974fd1ae (diff) | |
download | FreeBSD-src-dfa19cb0cec51bbb1fba802ceae5f4b58cad3892.zip FreeBSD-src-dfa19cb0cec51bbb1fba802ceae5f4b58cad3892.tar.gz |
Provide a new interface for the user of aio_read() and aio_write() to request
a kevent upon completion of the I/O. Specifically, introduce a new type
of sigevent notification, SIGEV_EVENT. If sigev_notify is SIGEV_EVENT,
then sigev_notify_kqueue names the kqueue that should receive the event
and sigev_value contains the "void *" is copied into the kevent's udata
field.
In contrast to the existing interface, this one: 1) works on
the Alpha 2) avoids the extra copyin() call for the kevent because all
of the information needed is in the sigevent and 3) could be
applied to request a single kevent upon completion of an entire lio_listio().
Reviewed by: jlemon
Diffstat (limited to 'sys/alpha/include/cpu.h')
0 files changed, 0 insertions, 0 deletions