diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-03-18 13:49:36 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-03-18 13:51:22 +0100 |
commit | 55243d090e58650d9350b4389875dc0e353f8b6e (patch) | |
tree | 4bf297db2cb48a78f9d29bdabb4661f48b2519e6 /cpukit | |
parent | libmisc/redirector: Fix unlock on exit from the handler. (diff) | |
download | rtems-55243d090e58650d9350b4389875dc0e353f8b6e.tar.bz2 |
testsupport: Do not suspend worker tasks
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/libmisc/testsupport/testparallel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/libmisc/testsupport/testparallel.c b/cpukit/libmisc/testsupport/testparallel.c index b8dc16c598..86c685b113 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( |