server_rwlock_init()

int server_rwlock_init(server_rwlock_t *rwlock);

Returns 0 on error 1 on success

This function is for dynamic initialization of a server_rwlock_t instance. This is the alternative to using the SERVER_RWLOCK_INITIALIZER macro.

You should destroy initialized server_rwlock_t instances using server_rwlock_destroy() when finished.



2007-12-06