| Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <MutexLock.h>
Definition at line 100 of file MutexLock.h.
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 | |
|
|||||||||
|
constructor
Definition at line 101 of file MutexLock.h. References MutexLock< num_doors >::door_t::BL_in_use, MutexLock< num_doors >::door_t::BL_ready, MutexLock< num_doors >::door_t::FCFS_in_use, MutexLock< num_doors >::door_t::id, MutexLock< num_doors >::door_t::next_turn_bit, and MutexLock< num_doors >::door_t::turn. |
|
|||||
|
Burns-Lamport doorway, corresponds to 'x_i'.
Definition at line 106 of file MutexLock.h. |
|
|||||
|
Signals past FCFS doorway, ready for BL doorway, corresponds to 'v_i'.
Definition at line 105 of file MutexLock.h. |
|
|||||
|
In FCFS doorway, corresponds to 'c_i'.
Definition at line 104 of file MutexLock.h. |
|
|||||
|
process ID this doorway is assigned to
Definition at line 103 of file MutexLock.h. |
|
|||||
|
selects which bit of turn will be flipped next
Definition at line 108 of file MutexLock.h. |
|
|||||
|
clock pulse, initial value doesn't matter
Definition at line 107 of file MutexLock.h. |
|
Tekkotsu v1.5 |
Generated Fri Oct 10 15:57:08 2003 by Doxygen 1.3.4 |