[Previous] [Contents] [Next]

iofunc_attr_unlock()

Unlock the attribute structure

Synopsis:

#include <sys/iofunc.h>

int iofunc_attr_unlock( iofunc_attr_t *attr );

Library:

libc

Description:

The iofunc_attr_unlock() function unlocks the attribute structure attr, allowing other threads in the resource manager to change information.

This function must be used in conjunction with iofunc_attr_lock(), and is called after you've made modifications to the attribute structure.

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_init(), iofunc_attr_lock(), iofunc_attr_trylock()


[Previous] [Contents] [Next]