summaryrefslogblamecommitdiffstats
path: root/testsuites/smptests/smp04/tasks.c
blob: a8b96cf688757fb5ca84597e6d1c74b0a8bdd11b (plain) (tree)






























                                                           
/*
 *  COPYRIGHT (c) 1989-2011.
 *  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.com/license/LICENSE.
 *
 *  $Id$
 */

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include "system.h"

rtems_task Test_task(
  rtems_task_argument task_index
)
{
  char              task_name[5];

  sprintf(task_name, "TA%" PRIu32, task_index );
  PrintTaskInfo( task_name );

  Loop();
  TaskRan[task_index] = true;

  while(1);
}