[rtems commit] testsupport: Do not suspend worker tasks
Sebastian Huber
sebh at rtems.org
Wed Mar 18 12:51:51 UTC 2015
Module: rtems
Branch: master
Commit: 55243d090e58650d9350b4389875dc0e353f8b6e
Changeset: http://git.rtems.org/rtems/commit/?id=55243d090e58650d9350b4389875dc0e353f8b6e
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Mar 18 13:49:36 2015 +0100
testsupport: Do not suspend worker tasks
---
cpukit/libmisc/testsupport/testparallel.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/cpukit/libmisc/testsupport/testparallel.c b/cpukit/libmisc/testsupport/testparallel.c
index b8dc16c..86c685b 100644
--- a/cpukit/libmisc/testsupport/testparallel.c
+++ b/cpukit/libmisc/testsupport/testparallel.c
@@ -106,7 +106,9 @@ static void worker_task(rtems_task_argument arg)
run_tests(warg.ctx, warg.jobs, warg.job_count, warg.worker_index);
- rtems_task_suspend(RTEMS_SELF);
+ while (true) {
+ /* Wait for delete by master worker */
+ }
}
void rtems_test_parallel(
More information about the vc
mailing list