| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
MutexLock< num_doors >::door_t Struct Reference#include <MutexLock.h>
Detailed Descriptiontemplate<unsigned int num_doors>
Holds per process shared info, one of these per process.
| |||||||||||||||||||||||||||||||||
Public Member Functions | |
| door_t () | |
| constructor | |
Public Attributes | |
| int | id |
| process ID this doorway is assigned to | |
| volatile bool | FCFS_in_use |
| In FCFS doorway, corresponds to 'c_i'. | |
| volatile bool | BL_ready |
| Signals past FCFS doorway, ready for BL doorway, corresponds to 'v_i'. | |
| volatile bool | BL_in_use |
| Burns-Lamport doorway, corresponds to 'x_i'. | |
| volatile unsigned char | turn |
| clock pulse, initial value doesn't matter | |
| unsigned char | next_turn_bit |
| selects which bit of turn will be flipped next | |
|
Tekkotsu v3.0 |
Generated Fri May 11 20:08:26 2007 by Doxygen 1.4.7 |