NCBI C++ ToolKit
|
Search Toolkit Book for SSimpleLock
SSimpleLock is a functor to wrap calling Lock(). More...
#include <corelib/guard.hpp>
Public Types | |
typedef Resource | resource_type |
Public Member Functions | |
void | operator() (resource_type &resource) const |
SSimpleLock is a functor to wrap calling Lock().
While this may seem excessive, it permits a lot of flexibility in defining what it means to acquire a lock
typedef Resource SSimpleLock< Resource >::resource_type |
|
inline |