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

My Project

Functions | Variables
benchlib.c File Reference
`#include "../config.h"`
`#include "pthread.h"`
`#include "sched.h"`
`#include "semaphore.h"`
`#include <windows.h>`
`#include <stdio.h>`
`#include "benchtest.h"`

## Functions

| BOOL (WINAPI *ptw32_try_enter_critical_section)(LPCRITICAL_SECTION)
void | dummy_call (int *a)
void | interlocked_inc_with_conditionals (int *a)
void | interlocked_dec_with_conditionals (int *a)
int | old_mutex_init (old_mutex_t *mutex, const old_mutexattr_t *attr)
int | old_mutex_lock (old_mutex_t *mutex)
int | old_mutex_unlock (old_mutex_t *mutex)
int | old_mutex_trylock (old_mutex_t *mutex)
int | old_mutex_destroy (old_mutex_t *mutex)

## Variables

int | old_mutex_use = OLD_WIN32CS
HINSTANCE | ptw32_h_kernel32

## Function Documentation

## § BOOL()

BOOL | ( | WINAPI * | ptw32_try_enter_critical_section | ) |

## § dummy_call()

void dummy_call | ( | int * | a | ) |

## § interlocked_dec_with_conditionals()

void interlocked_dec_with_conditionals | ( | int * | a | ) |

## § interlocked_inc_with_conditionals()

void interlocked_inc_with_conditionals | ( | int * | a | ) |

## § old_mutex_destroy()

int old_mutex_destroy | ( | old_mutex_t * | mutex | ) |

## § old_mutex_init()

int old_mutex_init | ( | old_mutex_t * | mutex,
|  | const old_mutexattr_t * | attr
| ) |  |

## § old_mutex_lock()

int old_mutex_lock | ( | old_mutex_t * | mutex | ) |

## § old_mutex_trylock()

int old_mutex_trylock | ( | old_mutex_t * | mutex | ) |

## § old_mutex_unlock()

int old_mutex_unlock | ( | old_mutex_t * | mutex | ) |

## Variable Documentation

## § old_mutex_use

int old_mutex_use = OLD_WIN32CS

## § ptw32_h_kernel32

HINSTANCE ptw32_h_kernel32