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

My Project

Classes | Macros | Functions | Variables
once2.c File Reference
`#include "test.h"`

## Classes

struct | sharedInt_t

## Macros

#define | NUM_THREADS 100 /* Targeting each once control */
#define | NUM_ONCE 10

## Functions

void | myfunc (void)
void * | mythread (void *arg)
int | main ()

## Variables

pthread_once_t | o = PTHREAD_ONCE_INIT
pthread_once_t | once [NUM_ONCE]

## Macro Definition Documentation

## § NUM_ONCE

#define NUM_ONCE 10

## § NUM_THREADS

#define NUM_THREADS 100 /* Targeting each once control */

## Function Documentation

## § main()

int main | ( |  | ) |

## § myfunc()

void myfunc | ( | void |  | ) |

## § mythread()

void* mythread | ( | void * | arg | ) |

## Variable Documentation

## § o

pthread_once_t o = PTHREAD_ONCE_INIT

## § once

pthread_once_t once[NUM_ONCE]