f_pthread_rwlock_destroy(rwlock)

Purpose

This function destroys the read-write lock object specified by the argument rwlock and releases any resources used by the lock.

Class

Function

Argument Type and Attributes

rwlock
TYPE(f_pthread_rwlock_t), INTENT(INOUT)

Result Type and Attributes

INTEGER(4)

Result Value

On successful completion, this function returns 0. Otherwise, this function returns one of the following errors.

EBUSY
The target read-write object is locked.
IBM Copyright 2003