#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 |
| 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] |
Definition at line 64 of file priority-donate-nest.c.
References locks::a, locks::b, lock_acquire(), lock_release(), msg(), PRI_DEFAULT, thread_get_priority(), and thread_yield().
| void test_priority_donate_nest | ( | void | ) |
Definition at line 28 of file priority-donate-nest.c.
References locks::a, ASSERT, locks::b, high_thread_func, lock_acquire(), lock_init(), lock_release(), medium_thread_func, msg(), PRI_DEFAULT, test_priority_donate_nest, thread_create(), thread_get_priority(), thread_mlfqs, and thread_yield().
thread_func high_thread_func [static] |
thread_func medium_thread_func [static] |
1.5.6