summaryrefslogtreecommitdiff
path: root/drd
diff options
context:
space:
mode:
Diffstat (limited to 'drd')
-rw-r--r--drd/drd_pthread_intercepts.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/drd/drd_pthread_intercepts.c b/drd/drd_pthread_intercepts.c
index 1a4ce33a..aae05828 100644
--- a/drd/drd_pthread_intercepts.c
+++ b/drd/drd_pthread_intercepts.c
@@ -415,16 +415,9 @@ int pthread_create_intercept(pthread_t* thread, const pthread_attr_t* attr,
if (ret == 0)
{
- /*
- * Wait until the thread wrapper started.
- * @todo Find out why some regression tests fail if thread arguments are
- * passed via dynamically allocated memory and if the loop below is
- * removed.
- */
+ /* Wait until the thread wrapper started. */
while (! thread_args_p->wrapper_started)
- {
sched_yield();
- }
}
VALGRIND_DO_CLIENT_REQUEST(res, -1, VG_USERREQ__DRD_START_NEW_SEGMENT,