libcsdbg  1.28
C++ exception (and generic) stack trace debug library
csdbg::process::~process ( )
virtual

Object destructor.

Definition at line 126 of file process.cpp.

References csdbg::util::lock(), m_modules, m_symcache, m_threads, and csdbg::util::unlock().

127 {
128  util::lock();
129  delete m_threads;
130  delete m_modules;
131  delete m_symcache;
132 
133  m_threads = NULL;
134  m_modules = NULL;
135  m_symcache = NULL;
136  util::unlock();
137 }
chain< thread > * m_threads
Instrumented thread list.
Definition: process.hpp:37
chain< symtab > * m_modules
Symbol table list.
Definition: process.hpp:39
static void lock()
Lock the global access mutex.
Definition: util.cpp:397
static void unlock()
Unlock the global access mutex.
Definition: util.cpp:406
chain< symbol > * m_symcache
Lookup cache.
Definition: process.hpp:41

+ Here is the call graph for this function: