PKUOS - Pintos
Pintos source browser for PKU Operating System course
Functions
alarm-negative.c File Reference
#include <stdio.h>
#include "tests/threads/tests.h"
#include "threads/malloc.h"
#include "threads/synch.h"
#include "threads/thread.h"
#include "devices/timer.h"
Include dependency graph for alarm-negative.c:

Go to the source code of this file.

Functions

void test_alarm_negative (void)
 Tests timer_sleep(-100). More...
 

Function Documentation

◆ test_alarm_negative()

void test_alarm_negative ( void  )

Tests timer_sleep(-100).

Only requirement is that it not crash.

Definition at line 11 of file alarm-negative.c.