|
From: <sv...@va...> - 2009-01-03 20:31:25
|
Author: bart
Date: 2009-01-03 20:31:18 +0000 (Sat, 03 Jan 2009)
New Revision: 8904
Log:
Removed stdout/stderr race suppression hack.
Modified:
branches/DRDDEV/drd/drd_pthread_intercepts.c
Modified: branches/DRDDEV/drd/drd_pthread_intercepts.c
===================================================================
--- branches/DRDDEV/drd/drd_pthread_intercepts.c 2009-01-03 17:46:13 UTC (rev 8903)
+++ branches/DRDDEV/drd/drd_pthread_intercepts.c 2009-01-03 20:31:18 UTC (rev 8904)
@@ -98,15 +98,6 @@
{
check_threading_library();
vg_set_main_thread_state();
- /* glibc up to and including version 2.8 triggers conflicting accesses */
- /* on stdout and stderr when sending output to one of these streams from */
- /* more than one thread. Suppress data race reports on these objects. */
- DRD_IGNORE_VAR(*stdout);
- DRD_IGNORE_VAR(*stderr);
-#if defined(HAVE_LIBC_FILE_LOCK)
- DRD_IGNORE_VAR(*(pthread_mutex_t*)(stdout->_lock));
- DRD_IGNORE_VAR(*(pthread_mutex_t*)(stderr->_lock));
-#endif
}
static MutexT pthread_to_drd_mutex_type(const int kind)
|