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

Functions

void test_priority_donate_sema (void)
static void l_thread_func (void *ls_)
static void m_thread_func (void *ls_)
static void h_thread_func (void *ls_)

Variables

static thread_func l_thread_func
static thread_func m_thread_func
static thread_func h_thread_func


Function Documentation

static void h_thread_func ( void *  ls_  )  [static]

static void l_thread_func ( void *  ls_  )  [static]

static void m_thread_func ( void *  ls_  )  [static]

Definition at line 63 of file priority-donate-sema.c.

References msg(), lock_and_sema::sema, and sema_down().

void test_priority_donate_sema ( void   ) 


Variable Documentation

thread_func h_thread_func [static]

Definition at line 27 of file priority-donate-sema.c.

Referenced by test_priority_donate_sema().

thread_func l_thread_func [static]

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

Referenced by test_priority_donate_sema().

thread_func m_thread_func [static]

Definition at line 26 of file priority-donate-sema.c.

Referenced by test_priority_donate_sema().


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