server_rwlock_unlock()

int server_rwlock_unlock(server_rwlock_t *rwlock);

Returns 0 on error 1 on success

This function unlocks the supplied initialized rwlock. Use of this is unchanged when dealing with either a held "read-lock" or "write-lock". Internal logic discerns which case is being unlocked, possible due to the exclusivity of the "write-lock".



2007-12-06