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

My Project

Classes | Enumerations | Functions | Variables
stress1.c File Reference
`#include "test.h"`
`#include <string.h>`
`#include <sys/timeb.h>`

## Classes

struct | mysig_t

## Enumerations

enum | { CTL_STOP = -1 }

## Functions

struct timespec * | millisecondsFromNow (struct timespec *time, int millisecs)
void * | masterThread (void *arg)
void * | slaveThread (void *arg)
int | main ()

## Variables

const unsigned int | ITERATIONS = 1000

## Enumeration Type Documentation

## § anonymous enum

anonymous enum

Enumerator
CTL_STOP |

## Function Documentation

## § main()

int main | ( |  | ) |

## § masterThread()

void* masterThread | ( | void * | arg | ) |

## § millisecondsFromNow()

struct timespec* millisecondsFromNow | ( | struct timespec * | time,
|  | int | millisecs
| ) |  |

## § slaveThread()

void* slaveThread | ( | void * | arg | ) |

## Variable Documentation

## § ITERATIONS

const unsigned int ITERATIONS = 1000