Lock 'Em Dead

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

A C++ exception handler meant to recover from a deadlock simply retries by jumping back to the top of a block without releasing the mutex the current thread holds, which does nothing to break the circular wait between two threads. A highly paid consultant brought in to fix existing deadlocks in the codebase appears to have introduced new ones with this retry macro, which is suspected to wrap a goto statement.

2m read timeFrom thedailywtf.com
Post cover image
977 Impressions