#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_preempt (void) |
static void | simple_thread_func (void *aux UNUSED) |
Variables | |
static thread_func | simple_thread_func |
static void simple_thread_func | ( | void *aux | UNUSED | ) | [static] |
Definition at line 31 of file priority-preempt.c.
References msg(), thread_name(), and thread_yield().
void test_priority_preempt | ( | void | ) |
Definition at line 18 of file priority-preempt.c.
References ASSERT, msg(), NULL, PRI_DEFAULT, simple_thread_func, test_priority_preempt, thread_create(), thread_get_priority(), and thread_mlfqs.
thread_func simple_thread_func [static] |
Definition at line 15 of file priority-preempt.c.