tac0S
Template Affectional Command Operating System
|
Public Member Functions | |
Lock (const char *debugName) | |
Dummy functions – so we can compile our later assignments Note – without a correct implementation of Condition::Wait(), the test case in the network assignment won't work! More... | |
~Lock () | |
Lock::~Lock Destructor of the Lock class. | |
const char * | getName () |
void | Acquire () |
Lock::Acquire the lock If it's allready locked, put in a "waiting list" and sleep, FIFO order. | |
void | Release () |
Lock::Release Release the lock. | |
bool | isHeldByCurrentThread () |
Lock::Lock | ( | const char * | debugName | ) |
Dummy functions – so we can compile our later assignments Note – without a correct implementation of Condition::Wait(), the test case in the network assignment won't work!
Lock::Lock Constructeur of the Lock clss
debugName | String name for debug |