Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

spinlock.cpp File Reference

Detailed Description

Kernel synchronization primitives implementation.

#include <spinlock.h>

Include dependency graph for spinlock.cpp:


 Zygoma::SpinLockMutex::SpinLockMutex ()
 Constructs a spin lock mutex object.
 Zygoma::SpinLockMutex::~SpinLockMutex ()
 Tears down a spin lock mutex object.

Function Documentation

Zygoma::SpinLockMutex::SpinLockMutex  ) 

Constructs a spin lock mutex object.

A spin lock mutex is always initially marked as available.

Zygoma::SpinLockMutex::~SpinLockMutex  ) 

Tears down a spin lock mutex object.

There is no functionality required of a spin lock destructor. There should be no way to destroy the object while it is held because all holds must be through a SpinLock object, which would always be destroyed first.

Generated on Fri Sep 2 10:44:58 2005 for zygoma by doxygen 1.4.2