[Previous] [Contents] [Next]

iofunc_lock_ocb_default()

Default handler for the lock_ocb callout

Synopsis:

#include <sys/iofunc.h>

int iofunc_lock_ocb_default( resmgr_context_t *ctp, 
                             void *reserved, 
                             iofunc_ocb_t *ocb );

Library:

libc

Description:

The iofunc_lock_ocb_default() function calls iofunc_attr_lock() to enforce locking on the attributes for the group of messages that were sent by the client.

Returns:

EOK
Success.
EAGAIN
On the first use, all kernel mutex objects were in use.

Classification:

QNX 6

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

iofunc_attr_lock(), iofunc_chmod_default(), iofunc_chown_default(), iofunc_close_dup_default(), iofunc_close_ocb_default(), iofunc_devctl_default(), iofunc_lock_default(), iofunc_lseek_default(), iofunc_mmap_default(), iofunc_open_default(), iofunc_pathconf_default(), iofunc_stat_default(), iofunc_time_update(), iofunc_unblock_default(), iofunc_utime_default(), resmgr_attach()


[Previous] [Contents] [Next]