Main Page   Compound List   File List   Compound Members   File Members  

Lock Class Reference

#include <synch.h>

List of all members.

Public Methods

 Lock (char *debugName)
 ~Lock ()
char * getName ()
void Acquire ()
void Release ()
bool isHeldByCurrentThread ()

Private Attributes

char * name


Constructor & Destructor Documentation

Lock::Lock char *    debugName
 

Definition at line 103 of file synch.cc.

00103 {}

Lock::~Lock  
 

Definition at line 104 of file synch.cc.

00104 {}


Member Function Documentation

void Lock::Acquire  
 

Definition at line 105 of file synch.cc.

Referenced by SynchList::Append, SynchList::Mapcar, SynchConsole::ReadLine, SynchDisk::ReadSector, SynchList::Remove, PostOffice::Send, SynchConsole::WriteLine, and SynchDisk::WriteSector.

00105 {}

char* Lock::getName   [inline]
 

Definition at line 70 of file synch.h.

References name.

00070 { return name; }        // debugging assist

bool Lock::isHeldByCurrentThread  
 

void Lock::Release  
 

Definition at line 106 of file synch.cc.

Referenced by SynchList::Append, SynchList::Mapcar, SynchConsole::ReadLine, SynchDisk::ReadSector, SynchList::Remove, PostOffice::Send, SynchConsole::WriteLine, and SynchDisk::WriteSector.

00106 {}


Member Data Documentation

char* Lock::name [private]
 

Definition at line 81 of file synch.h.

Referenced by getName.


The documentation for this class was generated from the following files:
Generated on Mon Feb 10 09:54:56 2003 for nachos by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002
The University of Southern California does not screen or control the content on this website and thus does not guarantee the accuracy, integrity, or quality of such content. All content on this website is provided by and is the sole responsibility of the person from which such content originated, and such content does not necessarily reflect the opinions of the University administration or the Board of Trustees