pintos/src/tests/threads/alarm-wait.c File Reference

#include <stdio.h>
#include "tests/threads/tests.h"
#include "threads/init.h"
#include "threads/malloc.h"
#include "threads/synch.h"
#include "threads/thread.h"
#include "devices/timer.h"

Go to the source code of this file.

Data Structures

struct  sleep_test
struct  sleep_thread

Functions

static void test_sleep (int thread_cnt, int iterations)
void test_alarm_single (void)
void test_alarm_multiple (void)
static void sleeper (void *)


Function Documentation

static void sleeper ( void *  t_  )  [static]

void test_alarm_multiple ( void   ) 

Definition at line 22 of file alarm-wait.c.

References test_alarm_multiple, and test_sleep().

void test_alarm_single ( void   ) 

Definition at line 16 of file alarm-wait.c.

References test_alarm_single, and test_sleep().

static void test_sleep ( int  thread_cnt,
int  iterations 
) [static]


Generated on Mon Jan 10 16:43:58 2011 for Pintos by  doxygen 1.5.6