HPCToolkit
mcs-lock.c File Reference
#include "mcs-lock.h"
Include dependency graph for mcs-lock.c:

Go to the source code of this file.

Functions

void mcs_lock (mcs_lock_t *l, mcs_node_t *me)
 
bool mcs_trylock (mcs_lock_t *l, mcs_node_t *me)
 
void mcs_unlock (mcs_lock_t *l, mcs_node_t *me)
 

Function Documentation

◆ mcs_lock()

void mcs_lock ( mcs_lock_t l,
mcs_node_t me 
)

Definition at line 77 of file mcs-lock.c.

Here is the caller graph for this function:

◆ mcs_trylock()

bool mcs_trylock ( mcs_lock_t l,
mcs_node_t me 
)

Definition at line 122 of file mcs-lock.c.

Here is the caller graph for this function:

◆ mcs_unlock()

void mcs_unlock ( mcs_lock_t l,
mcs_node_t me 
)

Definition at line 146 of file mcs-lock.c.

Here is the caller graph for this function: