Pol  Revision:cb584c9
Pol::threadhelp::ThreadMap Class Reference

#include <threadhelp.h>

Public Types

typedef std::map< size_t, std::string > Contents
 

Public Member Functions

 ThreadMap ()
 
void CopyContents (Contents &out) const
 
void Register (size_t pid, const std::string &name)
 
void Unregister (size_t pid)
 

Private Attributes

Contents _contents
 
Clib::SpinLock _spinlock
 

Detailed Description

Definition at line 40 of file threadhelp.h.

Member Typedef Documentation

typedef std::map<size_t, std::string> Pol::threadhelp::ThreadMap::Contents

Definition at line 43 of file threadhelp.h.

Constructor & Destructor Documentation

Pol::threadhelp::ThreadMap::ThreadMap ( )

Definition at line 259 of file threadhelp.cpp.

References _spinlock, and pid.

Member Function Documentation

void Pol::threadhelp::ThreadMap::CopyContents ( Contents out) const
void Pol::threadhelp::ThreadMap::Register ( size_t  pid,
const std::string &  name 
)
void Pol::threadhelp::ThreadMap::Unregister ( size_t  pid)

Member Data Documentation

Contents Pol::threadhelp::ThreadMap::_contents
private

Definition at line 56 of file threadhelp.h.

Referenced by CopyContents(), Register(), and Unregister().

Clib::SpinLock Pol::threadhelp::ThreadMap::_spinlock
mutableprivate

Definition at line 55 of file threadhelp.h.

Referenced by CopyContents(), Register(), ThreadMap(), and Unregister().


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