forked from Imagelibrary/rtems
Do not supsend self while waiting for termination since the rtems_task_delete() may take place while the rtems_task_suspend() waits for the Giant lock preventing delivery of the inter-processor interrupt. The result is a suspended and terminated thread (this is a valid state, but leads in this case to a test failure).
# # 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.org/license/LICENSE. This directory contains the RTEMS SMP Test Suite. As of June 2011, these tests are known to run on only + pcp4 BSP using qemu with 2-4 cores + leon3 BSP using grsim with 4 cores