From 51b3cbca11b940d37b791b4d8009c2144db31ac6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 4 Oct 2018 15:23:25 +0200 Subject: tests: Use rtems_task_exit() Update #3533. --- testsuites/psxtests/psxkey04/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxkey04') diff --git a/testsuites/psxtests/psxkey04/init.c b/testsuites/psxtests/psxkey04/init.c index 34e52c8aab..d42633ce25 100644 --- a/testsuites/psxtests/psxkey04/init.c +++ b/testsuites/psxtests/psxkey04/init.c @@ -49,7 +49,7 @@ rtems_task Test_Thread1( rtems_task_argument argument ) value = pthread_getspecific( Key ); rtems_test_assert( *value == Data_array[0] ); - rtems_task_delete( RTEMS_SELF ); + rtems_task_exit(); } rtems_task Test_Thread2( rtems_task_argument argument ) @@ -65,7 +65,7 @@ rtems_task Test_Thread2( rtems_task_argument argument ) value = pthread_getspecific( Key ); rtems_test_assert( *value == Data_array[1] ); - rtems_task_delete( RTEMS_SELF ); + rtems_task_exit(); } rtems_task Init( rtems_task_argument ignored ) -- cgit v1.2.3