diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-05-31 13:56:56 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-05-31 15:20:30 +0200 |
commit | ac2bb464a5948ff0b3ae4bb5bd4434735e6c0e04 (patch) | |
tree | d06af96753409c3ec551b7ea0b73ee7f4031dcd4 /testsuites/smptests/smp08/init.c | |
parent | smp: Move secondary CPU initialization request (diff) | |
download | rtems-ac2bb464a5948ff0b3ae4bb5bd4434735e6c0e04.tar.bz2 |
smptests: Use priority ceiling for locked print
In case the printf() blocks on a semaphore it was possible to end up in
a livelock.
Diffstat (limited to '')
-rw-r--r-- | testsuites/smptests/smp08/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smp08/init.c b/testsuites/smptests/smp08/init.c index 1c03cec8a3..8e8de7c052 100644 --- a/testsuites/smptests/smp08/init.c +++ b/testsuites/smptests/smp08/init.c @@ -78,7 +78,7 @@ rtems_task Init( sprintf(ch, "%02" PRId32, i ); status = rtems_task_create( rtems_build_name( 'T', 'A', ch[0], ch[1] ), - 1, + 2, RTEMS_MINIMUM_STACK_SIZE, RTEMS_DEFAULT_MODES, RTEMS_DEFAULT_ATTRIBUTES, |