/[svn]
ViewVC logotype

Revision 3765


Jump to revision: Previous Next
Author: schoenebeck
Date: Mon Apr 6 09:46:52 2020 UTC (3 months ago)
Changed paths: 4
Log Message:
Mutex class: Implemented bug detection and deadlock debugging features.

* Bug detection: By enabling macro DEBUG_MUTEX at compile time and
  calling new method setDebugEnabled(true) at runtime, automatic bug
  detection features are activated which e.g. raise an assertion fault
  if a thread attempts to Unlock() a thread it does not own a lock on,
  or when locking more than once while not using mutex type RECURSIVE
  and much more.

* Deadlock debugging: Also if these features were activated like
  described above, the most recent mutex lock is recorded by capturing
  the name of the thread and the precise call stack which caused the
  mutex lock. This information can be used to identify the exact
  situation that lead to a dead lock efficiently with a debugger.

* Bumped version (2.1.1.svn53).


Changed paths

Path Details
Directorylinuxsampler/trunk/ChangeLog modified , text changed
Directorylinuxsampler/trunk/configure.ac modified , text changed
Directorylinuxsampler/trunk/src/common/Mutex.cpp modified , text changed
Directorylinuxsampler/trunk/src/common/Mutex.h modified , text changed

  ViewVC Help
Powered by ViewVC