pintos/src/tests/threads/priority-donate-chain.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  lock_pair

Defines

#define NESTING_DEPTH   8

Functions

void test_priority_donate_chain (void)
static void donor_thread_func (void *locks_)
static void interloper_thread_func (void *arg_ UNUSED)

Variables

static thread_func donor_thread_func
static thread_func interloper_thread_func


Define Documentation

#define NESTING_DEPTH   8

Definition at line 33 of file priority-donate-chain.c.

Referenced by donor_thread_func().


Function Documentation

static void donor_thread_func ( void *  locks_  )  [static]

static void interloper_thread_func ( void *arg_  UNUSED  )  [static]

Definition at line 109 of file priority-donate-chain.c.

References msg(), and thread_name().

void test_priority_donate_chain ( void   ) 


Variable Documentation

thread_func donor_thread_func [static]

Definition at line 41 of file priority-donate-chain.c.

Referenced by test_priority_donate_chain().

thread_func interloper_thread_func [static]

Definition at line 42 of file priority-donate-chain.c.

Referenced by test_priority_donate_chain().


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