Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2000 11:36:36 -0800 (PST)
From:      Alan Cox <alc@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_aio.c src/sys/sys signal.h
Message-ID:  <200011211936.LAA76264@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
alc         2000/11/21 11:36:36 PST

  Modified files:
    sys/kern             vfs_aio.c 
    sys/sys              signal.h 
  Log:
  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
  
  Revision  Changes    Path
  1.87      +34 -30    src/sys/kern/vfs_aio.c
  1.25      +8 -2      src/sys/sys/signal.h



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011211936.LAA76264>