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/psxtests/psxkey06 | |
parent | 8776bb94197613a369b47b3adf4b2d4e0ba766ed (diff) |
tests: Use rtems_task_exit()
Update #3533.
Diffstat (limited to 'testsuites/psxtests/psxkey06')
-rw-r--r-- | testsuites/psxtests/psxkey06/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/psxtests/psxkey06/init.c b/testsuites/psxtests/psxkey06/init.c index 2b64c471c7..aa5977759d 100644 --- a/testsuites/psxtests/psxkey06/init.c +++ b/testsuites/psxtests/psxkey06/init.c @@ -74,7 +74,7 @@ static rtems_task Test_Thread1( rtems_task_argument argument ) value = pthread_getspecific( key2 ); rtems_test_assert( *value == Data_array[1] ); - rtems_task_delete( RTEMS_SELF ); + rtems_task_exit(); } static rtems_task Test_Thread2( rtems_task_argument argument ) @@ -98,7 +98,7 @@ static rtems_task Test_Thread2( rtems_task_argument argument ) value = pthread_getspecific( key2 ); rtems_test_assert( *value == Data_array[3] ); - rtems_task_delete( RTEMS_SELF ); + rtems_task_exit(); } static void Key3_Destructor( void *value ) @@ -125,7 +125,7 @@ static rtems_task Test_Thread3( rtems_task_argument argument ) rtems_task_restart( RTEMS_SELF, 1 ); } else if ( argument == 1 ) { Wake_Up_Master(); - rtems_task_delete( RTEMS_SELF ); + rtems_task_exit(); } rtems_test_assert( false ); |