A cross-platform implementation of a mutex, that automatically checks for everything, you might be doing wrong:
- DeadLocks
- Invalid mutex leave order
- Thread Shutdown, while still holding mutex locks
- Destroying a locked mutex
- (Un)Locking a destroyed mutex
- UnLocking an unlocked mutex
- UnLocking an mutex locked by another thread
- Locking a non-recursive, locked mutex
- Not destroying all mutexes before application termination
Every abnormal produces a console output with file and line information about were it is located and why it happened.
The main purpose of debug_mutex is the detection of deadlocks and outputting useful information, to fix it, by telling you exactly, where the recursion happened.

Debug_mutex can easily be disabled and simply used as a cross-platform mutex Library

Debug_mutex can be linked statically or externally

Features

  • cross-platform
  • c / c++
  • debug_new compatible
  • DeadLock detection
  • c++ API
  • static linkage
  • extern linkage

Project Activity

See All Activity >

Categories

Debuggers, Libraries

License

zlib/libpng License

Follow debug_mutex

debug_mutex Web Site

Other Useful Business Software
Get Avast Free Antivirus with 24/7 AI-powered online scam detection Icon
Get Avast Free Antivirus with 24/7 AI-powered online scam detection

Get protection for today’s online threats. Free.

Award-winning antivirus protection, as well as protection against online scams, dangerous Wi-Fi connections, hacked accounts, and ransomware. It includes Avast Assistant, your built-in AI partner, which gives you help with suspicious online messages, offers, and more.
Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of debug_mutex!

Additional Project Details

Intended Audience

Developers

Programming Language

C++, C

Related Categories

C++ Debuggers, C++ Libraries, C Debuggers, C Libraries

Registered

2015-11-15