diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-04-25 19:40:12 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-04-25 19:40:12 +0000 |
commit | 2cc30e90c2febb3bc020807c2b1552429d3d724f (patch) | |
tree | 6b54b99d8e653a7102d7c381880bbe90af7120f0 /testsuites/psxtests/psx07/task.c | |
parent | 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-2cc30e90c2febb3bc020807c2b1552429d3d724f.tar.bz2 |
2010-04-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx07/init.c, psx07/task.c: Introduce enough of a delay so the Init()
thread can reliably reach the pthread_join() call.
Diffstat (limited to 'testsuites/psxtests/psx07/task.c')
-rw-r--r-- | testsuites/psxtests/psx07/task.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/psxtests/psx07/task.c b/testsuites/psxtests/psx07/task.c index d288b88b40..8256aa5639 100644 --- a/testsuites/psxtests/psx07/task.c +++ b/testsuites/psxtests/psx07/task.c @@ -40,6 +40,11 @@ void *Task_2( time_t now, start; /* + * sleep long enough to let the init thread join with us. + */ + usleep(10000); + + /* * Change our priority so we are running at a logically higher * priority than our "ss_high_priority". This should result in * our replenishment period not touching our priority. |