Some time ago reporting sending POSIX signals where the mutex associated
with the signal via pthread_cond_wait()/pthread_cond_timedwait() was
disabled. Reenabled this report, made it configurable, and added a
regression test for the new command line option.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8295 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/exp-drd/drd_cond.h b/exp-drd/drd_cond.h
index 23880f5..abe3f48 100644
--- a/exp-drd/drd_cond.h
+++ b/exp-drd/drd_cond.h
@@ -23,21 +23,26 @@
 */
 
 
-// Condition variable state information: mutex specified in pthread_cond_wait()
-// call.
-
-
 #ifndef __DRD_COND_H
 #define __DRD_COND_H
 
 
-#include "drd_thread.h"      // DrdThreadid
-#include "pub_tool_basics.h" // Addr
+#include "drd_thread.h"      /* DrdThreadid */
+#include "pub_tool_basics.h" /* Addr        */
 
 
+/* Forward declarations. */
+
 struct cond_info;
 
 
+/* Global variables. */
+
+extern Bool s_drd_report_signal_unlocked;
+
+
+/* Function declarations. */
+
 void cond_set_trace(const Bool trace_cond);
 void cond_pre_init(const Addr cond);
 void cond_post_destroy(const Addr cond);