[SOLVED] CS /* Tests timer_sleep(0), which should return immediately. */

$25

File Name: CS_/*_Tests_timer_sleep(0),_which_should_return_immediately._*/.zip
File Size: 593.46 KB

5/5 - (1 vote)

/* Tests timer_sleep(0), which should return immediately. */

#include
#include tests/threads/tests.h
#include threads/malloc.h
#include threads/synch.h
#include threads/thread.h
#include devices/timer.h

void
test_alarm_zero (void)
{
timer_sleep (0);
pass ();
}

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS /* Tests timer_sleep(0), which should return immediately. */
$25