Public Types | Public Member Functions | Static Public Attributes

mozilla::BlockingResourceBase Class Reference

BlockingResourceBase Base class of resources that might block clients trying to acquire them. More...

#include <BlockingResourceBase.h>

Inheritance diagram for mozilla::BlockingResourceBase:

List of all members.

Public Types

enum  BlockingResourceType { eMutex, eMonitor, eCondVar }

Public Member Functions

 BlockingResourceBase (const char *aName, BlockingResourceType aType)
 ~BlockingResourceBase ()

Static Public Attributes

static const char *const kResourceTypeName []
 kResourceTypeName Human-readable version of BlockingResourceType enum.

Detailed Description

BlockingResourceBase Base class of resources that might block clients trying to acquire them.

Does debugging and deadlock detection in DEBUG builds.


Member Enumeration Documentation

Enumerator:
eMutex 
eMonitor 
eCondVar 

Constructor & Destructor Documentation

mozilla::BlockingResourceBase::BlockingResourceBase ( const char *  aName,
BlockingResourceType  aType 
) [inline]
mozilla::BlockingResourceBase::~BlockingResourceBase (  )  [inline]

Member Data Documentation

kResourceTypeName Human-readable version of BlockingResourceType enum.


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