From: Bart Van Assche Date: Tue, 8 Mar 2011 18:32:36 +0000 (+0000) Subject: DRD: Removed an obsolete comment. X-Git-Tag: svn/VALGRIND_3_7_0~618 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3eeee78bedcc93237c779d6a7933d782b5f773fd;p=thirdparty%2Fvalgrind.git DRD: Removed an obsolete comment. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11611 --- 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,