| 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. |
|
|||||
|
Burns-Lamport doorway, corresponds to 'x_i'.
Definition at line 106 of file MutexLock.h. Referenced by MutexLock< num_doors >::door_t::door_t(), and MutexLock< num_doors >::release(). |
|
|||||
|
Signals past FCFS doorway, ready for BL doorway, corresponds to 'v_i'.
Definition at line 105 of file MutexLock.h. Referenced by MutexLock< num_doors >::door_t::door_t(), and MutexLock< num_doors >::release(). |
|
|||||
|
In FCFS doorway, corresponds to 'c_i'.
Definition at line 104 of file MutexLock.h. Referenced by MutexLock< num_doors >::do_try_lock(), and MutexLock< num_doors >::door_t::door_t(). |
|
|||||
|
process ID this doorway is assigned to
Definition at line 103 of file MutexLock.h. Referenced by MutexLock< num_doors >::door_t::door_t(), MutexLock< num_doors >::forget(), and MutexLock< num_doors >::lookup(). |
|
|||||
|
selects which bit of turn will be flipped next
Definition at line 108 of file MutexLock.h. Referenced by MutexLock< num_doors >::door_t::door_t(). |
|
|||||
|
clock pulse, initial value doesn't matter
Definition at line 107 of file MutexLock.h. Referenced by MutexLock< num_doors >::do_try_lock(), and MutexLock< num_doors >::door_t::door_t(). |
|
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:19 2004 by Doxygen 1.3.4 |