ARGOBOTS  7496202f85916e93d6d143320764c2aba5026d93
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Functions
rwlock.c File Reference
#include "abti.h"
Include dependency graph for rwlock.c:

Go to the source code of this file.

Functions

int ABT_rwlock_create (ABT_rwlock *newrwlock)
 Create a new rwlock ABT_rwlock_create creates a new rwlock object and returns its handle through newrwlock. If an error occurs in this routine, a non-zero error code will be returned and newrwlock will be set to ABT_RWLOCK_NULL. More...
 
int ABT_rwlock_free (ABT_rwlock *rwlock)
 Free the rwlock object. More...
 
int ABT_rwlock_rdlock (ABT_rwlock rwlock)
 Lock the rwlock as a reader. More...
 
int ABT_rwlock_wrlock (ABT_rwlock rwlock)
 Lock the rwlock as a writer. More...
 
int ABT_rwlock_unlock (ABT_rwlock rwlock)
 Unlock the rwlock. More...