|
From: <sv...@va...> - 2009-07-24 11:11:42
|
Author: bart
Date: 2009-07-24 12:11:30 +0100 (Fri, 24 Jul 2009)
New Revision: 10593
Log:
Print an easy-to-understand message in case the client program tries to create more threads than what is currently supported by DRD.
Modified:
trunk/drd/drd_thread.c
Modified: trunk/drd/drd_thread.c
===================================================================
--- trunk/drd/drd_thread.c 2009-07-24 11:10:05 UTC (rev 10592)
+++ trunk/drd/drd_thread.c 2009-07-24 11:11:30 UTC (rev 10593)
@@ -195,6 +195,10 @@
}
}
+ VG_(printf)(
+"\nSorry, but the maximum number of threads supported by DRD has been exceeded."
+"Aborting.\n");
+
tl_assert(False);
return DRD_INVALID_THREADID;
|