#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_lower (void) |
static void | acquire_thread_func (void *lock_) |
Variables | |
static thread_func | acquire_thread_func |
static void acquire_thread_func | ( | void * | lock_ | ) | [static] |
Definition at line 43 of file priority-donate-lower.c.
References lock_acquire(), lock_release(), and msg().
void test_priority_donate_lower | ( | void | ) |
Definition at line 16 of file priority-donate-lower.c.
References acquire_thread_func, ASSERT, lock_acquire(), lock_init(), lock_release(), msg(), PRI_DEFAULT, test_priority_donate_lower, thread_create(), thread_get_priority(), thread_mlfqs, and thread_set_priority().
thread_func acquire_thread_func [static] |