My Project: dynamics.mod/NewtonDynamics/source/pthreads.2/ptw32_MCS_lock.c File Reference

My Project

Functions
ptw32_MCS_lock.c File Reference
`#include "pthread.h"`
`#include "sched.h"`
`#include "implement.h"`

## Functions

INLINE void | ptw32_mcs_flag_set (HANDLE *flag)
INLINE void | ptw32_mcs_flag_wait (HANDLE *flag)
void | ptw32_mcs_lock_acquire (ptw32_mcs_lock_t *lock, ptw32_mcs_local_node_t *node)
void | ptw32_mcs_lock_release (ptw32_mcs_local_node_t *node)
int | ptw32_mcs_lock_try_acquire (ptw32_mcs_lock_t *lock, ptw32_mcs_local_node_t *node)
void | ptw32_mcs_node_transfer (ptw32_mcs_local_node_t *new_node, ptw32_mcs_local_node_t *old_node)

## Function Documentation

## § ptw32_mcs_flag_set()

INLINE void ptw32_mcs_flag_set | ( | HANDLE * | flag | ) |

## § ptw32_mcs_flag_wait()

INLINE void ptw32_mcs_flag_wait | ( | HANDLE * | flag | ) |

## § ptw32_mcs_lock_acquire()

void ptw32_mcs_lock_acquire | ( | ptw32_mcs_lock_t * | lock,
|  | ptw32_mcs_local_node_t * | node
| ) |  |

## § ptw32_mcs_lock_release()

void ptw32_mcs_lock_release | ( | ptw32_mcs_local_node_t * | node | ) |

## § ptw32_mcs_lock_try_acquire()

int ptw32_mcs_lock_try_acquire | ( | ptw32_mcs_lock_t * | lock,
|  | ptw32_mcs_local_node_t * | node
| ) |  |

## § ptw32_mcs_node_transfer()

void ptw32_mcs_node_transfer | ( | ptw32_mcs_local_node_t * | new_node,
|  | ptw32_mcs_local_node_t * | old_node
| ) |  |