#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.
Functions | |
void | test_priority_donate_multiple2 (void) |
static void | a_thread_func (void *lock_) |
static void | b_thread_func (void *lock_) |
static void | c_thread_func (void *a_ UNUSED) |
Variables | |
static thread_func | a_thread_func |
static thread_func | b_thread_func |
static thread_func | c_thread_func |
static void a_thread_func | ( | void * | lock_ | ) | [static] |
Definition at line 65 of file priority-donate-multiple2.c.
References lock_acquire(), lock_release(), and msg().
static void b_thread_func | ( | void * | lock_ | ) | [static] |
Definition at line 76 of file priority-donate-multiple2.c.
References lock_acquire(), lock_release(), and msg().
static void c_thread_func | ( | void *a_ | UNUSED | ) | [static] |
void test_priority_donate_multiple2 | ( | void | ) |
Definition at line 28 of file priority-donate-multiple2.c.
References a_thread_func, ASSERT, b_thread_func, c_thread_func, lock_acquire(), lock_init(), lock_release(), msg(), NULL, PRI_DEFAULT, test_priority_donate_multiple2, thread_create(), thread_get_priority(), and thread_mlfqs.
thread_func a_thread_func [static] |
Definition at line 23 of file priority-donate-multiple2.c.
thread_func b_thread_func [static] |
Definition at line 24 of file priority-donate-multiple2.c.
thread_func c_thread_func [static] |
Definition at line 25 of file priority-donate-multiple2.c.
Referenced by test_priority_donate_multiple2().