Kyoto Cabinet
Public Member Functions
kyotocabinet::ScopedSpinLock Class Reference

Scoped spin lock device. More...

#include <kcthread.h>

List of all members.

Public Member Functions

 ScopedSpinLock (SpinLock *spinlock)
 Constructor.
 ~ScopedSpinLock ()
 Destructor.

Detailed Description

Scoped spin lock device.


Constructor & Destructor Documentation

Constructor.

Parameters:
spinlocka spin lock to lock the block.

Destructor.