*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> aio_hold (3)              
Title
Content
Arch
Section
 

Contents


AIO_HOLD(3)							   AIO_HOLD(3)


NAME    [Toc]    [Back]

     aio_hold, aio_hold64 - Defer or resume reception of asynchronous I/O
     callbacks

C SYNOPSIS    [Toc]    [Back]

     #include <aio.h>

     void aio_hold(int should_ hold);

     void aio_hold64(int should_hold);

DESCRIPTION    [Toc]    [Back]

     The aio_hold() function allows the	calling	process	to defer or resume the
     reception of callback notification	invocations. If	the should_hold
     parameter is AIO_HOLD_CALLBACK, callbacks will be deferred. If the
     should_hold parameter is AIO_RELEASE_CALLBACKS then callbacks will	be
     released. If the value is AIO_ISHELD_CALLBACKS then nothing is done and
     the current state is returned. Callbacks are the MIPS ABI preferred
     method for	notifications for completions of asynchronous I/O operations.

SEE ALSO    [Toc]    [Back]

      
      
     aio_write(3), lio_listio(3), aio_error(3),	aio_return(3), aio_cancel(3),
     mpadmin(1), realtime(5).

DIAGNOSTICS    [Toc]    [Back]

     Upon successful completion	the prior state	is returned. A return value of
     1 indicates that callbacks	were being held	at the time of the call	and a
     return value of 0 indicates they were not.	Otherwise a value of -1	is
     returned and is set to indicate the error.

     [EINVAL]	    The	value of should_hold is	not one	of
		    AIO_ISHELD_CALLBACK, AIO_HOLD_CALLBACK or
		    AIO_RELEASE_CALLBACK.

     [EIO]	    It was not possible	to perform this	operation due to an
		    error.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
pthread_suspend_all_np OpenBSD suspend and resume thread(s)
pthread_suspend_np OpenBSD suspend and resume thread(s)
pthread_resume_np FreeBSD resume suspended thread
pthread_resume_all_np FreeBSD resume all suspended threads
pthread_resume_np OpenBSD suspend and resume thread(s)
pthread_resume_all_np OpenBSD suspend and resume thread(s)
audswitch HP-UX suspend or resume auditing on the current process
dmPMSetAudioCallback IRIX sets the audio and video callbacks
acctsuspend HP-UX suspend and resume accounting when available disk space reaches threshold
acctresume HP-UX suspend and resume accounting when available disk space reaches threshold
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service