CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RAII_Polymorphism Struct Reference

#include <util_concurrency.h>

Public Types

enum  T { None, ReadLock, WriteLock }

Detailed Description

Used to allow for static polymorphism in the RAII template to statically decide which 'lock' functions to use, if we have more than one possiblity. (I.e. Read/Write locks) Note: Static Polymorphism - Strategy Pattern

TODO: eventually replace this by C++11 typed enum

Definition at line 59 of file util_concurrency.h.

Member Enumeration Documentation


Definition at line 60 of file util_concurrency.h.

The documentation for this struct was generated from the following file: