2 ms·
Yes actually: proper destruction and cleanup of a mutex must happen, or else a deadlock will likely occur soon. But proper cleanup of non-mundane issues is a w
by dragontamer 13y ago
Yes actually: proper destruction and cleanup of a mutex must happen, or else a deadlock will likely occur soon.
But proper cleanup of non-mundane issues is a well known problem in all programming languages, C included. If you don't handle the mutex correctly 100% of the time, issues come abound. At least in C++, there is a methodology / philosophy (RAII) that handles most situations.