From 3eeee78bedcc93237c779d6a7933d782b5f773fd Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 8 Mar 2011 18:32:36 +0000 Subject: [PATCH] DRD: Removed an obsolete comment. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11611 --- drd/drd_pthread_intercepts.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drd/drd_pthread_intercepts.c b/drd/drd_pthread_intercepts.c index 1a4ce33aba..aae0582807 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, -- 2.47.3