Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
io_waituntil(3) 	    Library Functions Manual		 io_waituntil(3)

NAME
     io_waituntil - wait for events

SYNTAX
     #include <libowfat/io.h>

     void io_waituntil(tai6464 t);

DESCRIPTION
     io_waituntil(t)  is like io_wait() but does not wait (noticeably) past time
     t.

NOTE
     Depending on the underlying operating system primitive, there is  a  poten-
     tial race condition to be aware of. Some event notification mechanisms (for
     example,  kqueue on BSD and epoll on Linux) will return multiple events. If
     your application operates on pairs of  file  descriptors  (a  proxy  server
     maybe),  and  an  error on one descriptor can lead to closing the other de-
     scriptor, then an outstanding event on the other descriptor  can  still  be
     queued  for delivery to you. Be prepared to receive events for a descriptor
     that has already been closed.

SEE ALSO
     io_wait(3), io_check(3), io_wantread(3), io_wantwrite(3), io_fd(3)

								 io_waituntil(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=libowfat_io_waituntil&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help