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

My Project

Macros | Enumerations | Functions | Variables
openmp1.c File Reference
`#include <stdio.h>`
`#include <stdlib.h>`
`#include <pthread.h>`

## Macros

#define | SPAWN_THREADS

## Enumerations

enum | { Size = 10000 }

## Functions

void * | _thread (void *Id)
void | MainThread ()
int | main (int argc, char *argv[])

## Variables

const int | ShouldSum = (Size-1)*Size/2
short | Verbose = 1
short | ThreadOK [3] = {0,0,0}

## Macro Definition Documentation

## § SPAWN_THREADS

#define SPAWN_THREADS

## Enumeration Type Documentation

## § anonymous enum

anonymous enum

Enumerator
Size |

## Function Documentation

## § _thread()

void* _thread | ( | void * | Id | ) |

## § main()

int main | ( | int | argc,
|  | char * | argv[]
| ) |  |

## § MainThread()

void MainThread | ( |  | ) |

## Variable Documentation

## § ShouldSum

const int ShouldSum = (Size-1)*Size/2

## § ThreadOK

short ThreadOK[3] = {0,0,0}

## § Verbose

short Verbose = 1