libcsdbg  1.28
C++ exception (and generic) stack trace debug library
void csdbg::util::lock ( )
static

Lock the global access mutex.

Note
Recursive locking is supported

Definition at line 397 of file util.cpp.

References m_lock.

Referenced by csdbg::__cyg_profile_func_enter(), csdbg::__cyg_profile_func_exit(), csdbg::process::add_module(), csdbg::tracer::add_plugin(), csdbg::process::cache_add(), csdbg::process::cache_lookup(), csdbg::process::cleanup_thread(), csdbg::process::current_thread(), dbg(), csdbg::tracer::dump(), csdbg::tracer::get_plugin(), csdbg::process::get_thread(), csdbg::operator<<(), csdbg::process::operator=(), csdbg::process::process(), csdbg::tracer::remove_plugin(), csdbg::tracer::trace(), csdbg::tracer::unwind(), and csdbg::process::~process().

398 {
399  pthread_mutex_lock(&m_lock);
400 }
static pthread_mutex_t m_lock
Global access mutex.
Definition: util.hpp:26

+ Here is the caller graph for this function: