pintos/src/tests/threads/priority-donate-nest.c File Reference

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

Go to the source code of this file.

Data Structures

struct  locks

Functions

void test_priority_donate_nest (void)
static void medium_thread_func (void *locks_)
static void high_thread_func (void *lock_)

Variables

static thread_func medium_thread_func
static thread_func high_thread_func


Function Documentation

static void high_thread_func ( void *  lock_  )  [static]

Definition at line 86 of file priority-donate-nest.c.

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

static void medium_thread_func ( void *  locks_  )  [static]

void test_priority_donate_nest ( void   ) 


Variable Documentation

thread_func high_thread_func [static]

Definition at line 25 of file priority-donate-nest.c.

Referenced by test_priority_donate_nest().

thread_func medium_thread_func [static]

Definition at line 24 of file priority-donate-nest.c.

Referenced by test_priority_donate_nest().


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