Functions | Variables
thrtest.c File Reference
#include <thread.h>
#include <synch.h>
#include <math.h>
#include <sys/times.h>
#include <limits.h>
Include dependency graph for thrtest.c:

Go to the source code of this file.

Functions

 dofunc (int n)
 
 main (int argc, argv)
 
 semtest (int n)
 
float ustime (struct tms *t1, struct tms *t2)
 

Variables

int count =0
 
mutex_t count_lock
 
sema_t gosem
 
sema_t retsem
 
float sinx =0.0
 
mutex_t test_lock
 

Function Documentation

dofunc ( int  n)

Definition at line 14 of file thrtest.c.

main ( int  argc,
argv   
)

Definition at line 43 of file thrtest.c.

semtest ( int  n)

Definition at line 29 of file thrtest.c.

float ustime ( struct tms *  t1,
struct tms *  t2 
)

Definition at line 38 of file thrtest.c.

Variable Documentation

int count =0

Definition at line 11 of file thrtest.c.

mutex_t count_lock

Definition at line 8 of file thrtest.c.

sema_t gosem

Definition at line 9 of file thrtest.c.

sema_t retsem

Definition at line 9 of file thrtest.c.

float sinx =0.0

Definition at line 12 of file thrtest.c.

mutex_t test_lock

Definition at line 7 of file thrtest.c.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Fri Feb 21 2020 03:20:54