HPCToolkit
pfq-rwlock.h File Reference
#include <inttypes.h>
#include <stdbool.h>
#include "mcs-lock.h"
Include dependency graph for pfq-rwlock.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bigbool
 
struct  pfq_rwlock_t
 

Macros

#define cache_aligned   __attribute__((aligned(128)))
 

Typedefs

typedef mcs_node_t pfq_rwlock_node_t
 
typedef struct bigbool bigbool
 

Functions

void pfq_rwlock_init (pfq_rwlock_t *l)
 
void pfq_rwlock_read_lock (pfq_rwlock_t *l)
 
void pfq_rwlock_read_unlock (pfq_rwlock_t *l)
 
void pfq_rwlock_write_lock (pfq_rwlock_t *l, pfq_rwlock_node_t *me)
 
void pfq_rwlock_write_unlock (pfq_rwlock_t *l, pfq_rwlock_node_t *me)
 

Macro Definition Documentation

◆ cache_aligned

#define cache_aligned   __attribute__((aligned(128)))

Definition at line 92 of file pfq-rwlock.h.

Typedef Documentation

◆ bigbool

typedef struct bigbool bigbool

◆ pfq_rwlock_node_t

Definition at line 100 of file pfq-rwlock.h.

Function Documentation

◆ pfq_rwlock_init()

void pfq_rwlock_init ( pfq_rwlock_t l)

Definition at line 110 of file pfq-rwlock.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pfq_rwlock_read_lock()

void pfq_rwlock_read_lock ( pfq_rwlock_t l)

Definition at line 122 of file pfq-rwlock.c.

Here is the caller graph for this function:

◆ pfq_rwlock_read_unlock()

void pfq_rwlock_read_unlock ( pfq_rwlock_t l)

Definition at line 134 of file pfq-rwlock.c.

Here is the caller graph for this function:

◆ pfq_rwlock_write_lock()

void pfq_rwlock_write_lock ( pfq_rwlock_t l,
pfq_rwlock_node_t me 
)

Definition at line 149 of file pfq-rwlock.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pfq_rwlock_write_unlock()

void pfq_rwlock_write_unlock ( pfq_rwlock_t l,
pfq_rwlock_node_t me 
)

Definition at line 211 of file pfq-rwlock.c.

Here is the call graph for this function:
Here is the caller graph for this function: