kyotocabinet::SlottedSpinLock< SLOTNUM > Class Template Reference
Slotted spin lock devices.
More...
#include <kcthread.h>
List of all members.
Detailed Description
template<int32_t SLOTNUM>
class kyotocabinet::SlottedSpinLock< SLOTNUM >
Slotted spin lock devices.
- Parameters:
-
| SLOTNUM | the number of slots. |
Constructor & Destructor Documentation
template<int32_t SLOTNUM>
template<int32_t SLOTNUM>
Member Function Documentation
template<int32_t SLOTNUM>
Get the lock of a slot.
- Parameters:
-
template<int32_t SLOTNUM>
Release the lock of a slot.
- Parameters:
-
template<int32_t SLOTNUM>
Get the locks of all slots.
template<int32_t SLOTNUM>
Release the locks of all slots.