pintos/src/tests/threads/priority-condvar.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.

Functions

void test_priority_condvar (void)
static void priority_condvar_thread (void *aux UNUSED)

Variables

static thread_func priority_condvar_thread
static struct lock lock
static struct condition condition


Function Documentation

static void priority_condvar_thread ( void *aux  UNUSED  )  [static]

Definition at line 46 of file priority-condvar.c.

References cond_wait(), lock_acquire(), lock_release(), msg(), and thread_name().

void test_priority_condvar ( void   ) 


Variable Documentation

struct condition condition [static]

Definition at line 14 of file priority-condvar.c.

struct lock lock [static]

Definition at line 13 of file priority-condvar.c.

thread_func priority_condvar_thread [static]

Definition at line 12 of file priority-condvar.c.

Referenced by test_priority_condvar().


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