#include
#include
#include
#include “uthread.h”
int numProcessors;
int numThreads;
int numIterations;
int numYields;
int useMonitors;
uthread_monitor_t* m;
void* testThread () {
for (int i=0; i
#include
#include
#include
#include “uthread.h”
int numProcessors;
int numThreads;
int numIterations;
int numYields;
int useMonitors;
uthread_monitor_t* m;
void* testThread () {
for (int i=0; i