PKUOS - Pintos
Pintos source browser for PKU Operating System course
|
Information about an individual thread in the test. More...
Data Fields | |
struct sleep_test * | test |
Info shared between all threads. More... | |
int | id |
Sleeper ID. More... | |
int | duration |
Number of ticks to sleep. More... | |
int | iterations |
Iterations counted so far. More... | |
Information about an individual thread in the test.
Definition at line 39 of file alarm-wait.c.
int sleep_thread::duration |
Number of ticks to sleep.
Definition at line 43 of file alarm-wait.c.
Referenced by sleeper(), and test_sleep().
int sleep_thread::id |
int sleep_thread::iterations |
struct sleep_test* sleep_thread::test |
Info shared between all threads.
Definition at line 41 of file alarm-wait.c.
Referenced by sleeper(), and test_sleep().