nfs-ganesha 1.4
Defines | Functions

RW_Lock.c File Reference

This file contains the functions for the RW lock management. More...

#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <execinfo.h>
#include "RW_Lock.h"
#include <malloc.h>
#include <assert.h>

Go to the source code of this file.

Defines

#define DEBUG_STACK_SIZE   1000

Functions

void dbg_backtrace (void)
int P_r (rw_lock_t *plock)
int V_r (rw_lock_t *plock)
int P_w (rw_lock_t *plock)
int V_w (rw_lock_t *plock)
int rw_lock_downgrade (rw_lock_t *plock)
int rw_lock_init (rw_lock_t *plock)
int rw_lock_destroy (rw_lock_t *plock)

Detailed Description

This file contains the functions for the RW lock management.

Author:
Author:
deniel

RW_Lock.c : this file contains the functions for the RW lock management.

Definition in file RW_Lock.c.


Define Documentation

#define DEBUG_STACK_SIZE   1000

Definition at line 61 of file RW_Lock.c.


Function Documentation

void dbg_backtrace ( void  )

Definition at line 62 of file RW_Lock.c.

int P_r ( rw_lock_t plock)

Definition at line 87 of file RW_Lock.c.

int P_w ( rw_lock_t plock)

Definition at line 149 of file RW_Lock.c.

int rw_lock_destroy ( rw_lock_t plock)

Definition at line 292 of file RW_Lock.c.

int rw_lock_downgrade ( rw_lock_t plock)

Definition at line 222 of file RW_Lock.c.

int rw_lock_init ( rw_lock_t plock)

Definition at line 261 of file RW_Lock.c.

int V_r ( rw_lock_t plock)

Definition at line 117 of file RW_Lock.c.

int V_w ( rw_lock_t plock)

Definition at line 180 of file RW_Lock.c.