| 
    CS318 - Pintos
    
   Pintos source browser for JHU CS318 course 
   | 
 
Creates several threads all at the same priority and ensures that they consistently run in the same round-robin order. More...

Data Fields | |
| int | id | 
| Sleeper ID.  More... | |
| int | iterations | 
| Iterations so far.  More... | |
| struct lock * | lock | 
| Lock on output.  More... | |
| int ** | op | 
| Output buffer position.  More... | |
Creates several threads all at the same priority and ensures that they consistently run in the same round-robin order.
Based on a test originally submitted for Stanford's CS 140 in winter 1999 by by Matt Franklin startled@leland.stanford.edu, Greg Hutchins gmh@leland.stanford.edu, Yu Ping Hu yph@cs.stanford.edu. Modified by arens.
Definition at line 18 of file priority-fifo.c.
| int simple_thread_data::id | 
Sleeper ID.
Definition at line 20 of file priority-fifo.c.
Referenced by simple_thread_func(), and test_priority_fifo().
| int simple_thread_data::iterations | 
Iterations so far.
Definition at line 21 of file priority-fifo.c.
Referenced by test_priority_fifo().
| struct lock* simple_thread_data::lock | 
Lock on output.
Definition at line 22 of file priority-fifo.c.
Referenced by simple_thread_func(), and test_priority_fifo().
| int** simple_thread_data::op | 
Output buffer position.
Definition at line 23 of file priority-fifo.c.
Referenced by simple_thread_func(), and test_priority_fifo().
 1.8.16