2010-04-25 Joel Sherrill <joel.sherrill@oarcorp.com>

* psx07/init.c, psx07/task.c: Introduce enough of a delay so the Init()
	thread can reliably reach the pthread_join() call.
This commit is contained in:
Joel Sherrill
2010-04-25 19:40:12 +00:00
parent e8b4506836
commit 2cc30e90c2
3 changed files with 11 additions and 1 deletions

View File

@@ -39,6 +39,11 @@ void *Task_2(
int i = 0;
time_t now, start;
/*
* sleep long enough to let the init thread join with us.
*/
usleep(10000);
/*
* Change our priority so we are running at a logically higher
* priority than our "ss_high_priority". This should result in