(empth_create): LWP yields, and it's the reference implementation.

Document and fix the others.
This commit is contained in:
Markus Armbruster 2006-03-25 07:49:37 +00:00
parent 8054aafb9a
commit ba11aaaa36
3 changed files with 3 additions and 0 deletions

View file

@ -463,6 +463,7 @@ empth_create(int prio, void (*entry)(void *), int size, int flags,
}
loc_debug("new thread id is %ld", pThread->ulThreadID);
empth_yield();
return pThread;
bad: