Kyoto Cabinet
Public Member Functions
kyotocabinet::ScopedMutex Class Reference

Scoped mutex device. More...

#include <kcthread.h>

List of all members.

Public Member Functions

 ScopedMutex (Mutex *mutex)
 Constructor.
 ~ScopedMutex ()
 Destructor.

Detailed Description

Scoped mutex device.


Constructor & Destructor Documentation

Constructor.

Parameters:
mutexa mutex to lock the block.

Destructor.