forked from Imagelibrary/rtems
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user