summaryrefslogtreecommitdiff
path: root/drd
diff options
context:
space:
mode:
authorbart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9>2011-03-08 18:32:36 +0000
committerbart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9>2011-03-08 18:32:36 +0000
commite476e92b5312bf517d52b6f2232fc316d2f1d2e3 (patch)
tree322d5891d8377ba59055b9156d8a04839a70df79 /drd
parent8239742b498e84d12fee70696915f61e52f9e2b1 (diff)
DRD: Removed an obsolete comment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11611 a5019735-40e9-0310-863c-91ae7b9d1cf9
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,