#include <stdio.h>#include "tests/threads/tests.h"#include "threads/init.h"#include "threads/malloc.h"#include "threads/synch.h"#include "threads/thread.h"#include "devices/timer.h"Go to the source code of this file.
Functions | |
| void | test_priority_condvar (void) |
| static void | priority_condvar_thread (void *aux UNUSED) |
Variables | |
| static thread_func | priority_condvar_thread |
| static struct lock | lock |
| static struct condition | condition |
| static void priority_condvar_thread | ( | void *aux | UNUSED | ) | [static] |
Definition at line 46 of file priority-condvar.c.
References cond_wait(), lock_acquire(), lock_release(), msg(), and thread_name().
| void test_priority_condvar | ( | void | ) |
Definition at line 17 of file priority-condvar.c.
References ASSERT, cond_init(), cond_signal(), lock_acquire(), lock_init(), lock_release(), msg(), name, NULL, PRI_DEFAULT, PRI_MIN, priority_condvar_thread, snprintf(), test_priority_condvar, thread_create(), thread_mlfqs, and thread_set_priority().
Definition at line 14 of file priority-condvar.c.
Definition at line 13 of file priority-condvar.c.
thread_func priority_condvar_thread [static] |
1.5.6