diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-15 09:04:29 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-06-15 09:11:19 +0200 |
commit | d6467102e2c2af2c0cacd1366d0922f5f4481ac1 (patch) | |
tree | 4c59607e834a2b77913a88ceab6b6c33bdcdb238 /testsuites/psxtests/psx12/task.c | |
parent | posix: Use _POSIX_Threads_Sporadic_timer_insert() (diff) | |
download | rtems-d6467102e2c2af2c0cacd1366d0922f5f4481ac1.tar.bz2 |
psxtests/psx12: Use one file and simplify
Diffstat (limited to 'testsuites/psxtests/psx12/task.c')
-rw-r--r-- | testsuites/psxtests/psx12/task.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/testsuites/psxtests/psx12/task.c b/testsuites/psxtests/psx12/task.c deleted file mode 100644 index 0a288d4afd..0000000000 --- a/testsuites/psxtests/psx12/task.c +++ /dev/null @@ -1,40 +0,0 @@ -/* Task_1 - * - * This routine serves as a test task. It verifies the basic task - * switching capabilities of the executive. - * - * Input parameters: - * argument - task argument - * - * Output parameters: NONE - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include "system.h" -#include <time.h> -#include <sched.h> - -void *Task_1( - void *argument -) -{ - /* - * Detach ourselves so we don't wait for a join that won't happen. - */ - pthread_detach( pthread_self() ); - - puts( "Task_1: exitting" ); - pthread_exit( NULL ); - - return NULL; /* just so the compiler thinks we returned something */ -} |