]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
DRD: the help text does now indicate that lock contention detection is off by default...
authorBart Van Assche <bvanassche@acm.org>
Mon, 25 Oct 2010 18:18:54 +0000 (18:18 +0000)
committerBart Van Assche <bvanassche@acm.org>
Mon, 25 Oct 2010 18:18:54 +0000 (18:18 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11477

drd/drd_main.c
drd/drd_mutex.c

index 953120b7543e26e5b3de48e653ce139bd06e1fe3..e317857ff34882952042c4b7b3922ab3d2c35e45 100644 (file)
@@ -184,7 +184,8 @@ static void DRD_(print_usage)(void)
 "    --check-stack-var=yes|no  Whether or not to report data races on\n"
 "                              stack variables [no].\n"
 "    --exclusive-threshold=<n> Print an error message if any mutex or\n"
-"        writer lock is held longer than the specified time (in milliseconds).\n"
+"                              writer lock is held longer than the specified\n"
+"                              time (in milliseconds) [off].\n"
 "    --first-race-only=yes|no  Only report the first data race that occurs on\n"
 "                              a memory location instead of all races [no].\n"
 "    --free-is-write=yes|no    Whether to report races between freeing memory\n"
@@ -201,7 +202,8 @@ static void DRD_(print_usage)(void)
 "    --segment-merging-interval=<n> Perform segment merging every time n new\n"
 "        segments have been created. Default: %d.\n"
 "    --shared-threshold=<n>    Print an error message if a reader lock\n"
-"        is held longer than the specified time (in milliseconds).\n"
+"                              is held longer than the specified time (in\n"
+"                              milliseconds) [off]\n"
 "    --show-confl-seg=yes|no   Show conflicting segments in race reports [yes].\n"
 "    --show-stack-usage=yes|no Print stack usage at thread exit time [no].\n"
 "\n"
index 87494f84a192312a3b3b72b212dfef5c00db23b8..0d6ad7a8716a887dc73b51371ca8c6c97a034b2f 100644 (file)
@@ -49,7 +49,7 @@ static void mutex_delete_thread(struct mutex_info* p, const DrdThreadId tid);
 static Bool s_trace_mutex;
 static ULong s_mutex_lock_count;
 static ULong s_mutex_segment_creation_count;
-static UInt s_mutex_lock_threshold_ms = 1000 * 1000;
+static UInt s_mutex_lock_threshold_ms;
 
 
 /* Function definitions. */