diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-04 15:23:25 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-05 13:41:07 +0200 |
commit | 51b3cbca11b940d37b791b4d8009c2144db31ac6 (patch) | |
tree | 603dd4aeee593f82d8224195f089ca3024c75f40 /testsuites/sptests/spfifo03/init.c | |
parent | score: Remove CPU_PROVIDES_IDLE_THREAD_BODY (diff) | |
download | rtems-51b3cbca11b940d37b791b4d8009c2144db31ac6.tar.bz2 |
tests: Use rtems_task_exit()
Update #3533.
Diffstat (limited to 'testsuites/sptests/spfifo03/init.c')
-rw-r--r-- | testsuites/sptests/spfifo03/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/spfifo03/init.c b/testsuites/sptests/spfifo03/init.c index 4a2b7419d7..e65c30102b 100644 --- a/testsuites/sptests/spfifo03/init.c +++ b/testsuites/sptests/spfifo03/init.c @@ -85,7 +85,7 @@ rtems_task read_task(rtems_task_argument not_used) puts("\nReader done!"); status = rtems_barrier_wait( Barrier, RTEMS_NO_TIMEOUT ); rtems_test_assert( status == RTEMS_SUCCESSFUL ); - rtems_task_delete( RTEMS_SELF ); + rtems_task_exit(); } void test_main(void) /* Also acts as the write task */ |