Let epicsExitTest work on systems with strict priority scheduling.

This commit is contained in:
W. Eric Norum
2006-10-27 16:32:40 +00:00
parent f046ff86be
commit 39a8d90553
2 changed files with 2 additions and 1 deletions

View File

@@ -64,4 +64,5 @@ void epicsExitTest(void)
epicsThreadCreate("threadA",50,stackSize,thread,pinfoA);
pinfoB = (info *)calloc(1,sizeof(info));
epicsThreadCreate("threadB",50,stackSize,thread,pinfoB);
epicsThreadSleep(1.0);
}

View File

@@ -70,6 +70,7 @@ struct rtems_bsdnet_config rtems_bsdnet_config = {
#include <stdio.h>
#include <rtems/error.h>
#include <epicsExit.h>
rtems_task
Init (rtems_task_argument ignored)
@@ -104,5 +105,4 @@ Init (rtems_task_argument ignored)
*/
epicsRunLibComTests();
epicsExit(0);
exit(0);
}