#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 | |
| static void | block_thread (void *lock_) |
| void | test_mlfqs_block (void) |
| static void block_thread | ( | void * | lock_ | ) | [static] |
Definition at line 50 of file mlfqs-block.c.
References lock_acquire(), msg(), start_time, timer_elapsed(), TIMER_FREQ, and timer_ticks().
Referenced by test_mlfqs_block().
| void test_mlfqs_block | ( | void | ) |
Definition at line 23 of file mlfqs-block.c.
References ASSERT, block_thread(), lock_acquire(), lock_init(), lock_release(), msg(), PRI_DEFAULT, start_time, test_mlfqs_block, thread_create(), thread_mlfqs, timer_elapsed(), TIMER_FREQ, timer_sleep(), and timer_ticks().
1.5.6