Purpose
This function applies a write lock like the f_pthread_rwlock_wrlock function with the exception that the function fails if any thread currently holds rwlock (for reading or writing). In that case, the function returns EBUSY. The calling thread can check the return code to take further actions.
Class
Function
Argument Type and Attributes
Result Type and Attributes
INTEGER(4)
Result Value
This function returns zero if the lock for writing on the read-write lock object specified by rwlock is acquired. Otherwise, the following error will be returned: