summaryrefslogtreecommitdiff
path: root/sys/src/libthread/create.c
AgeCommit message (Collapse)Author
2021-10-12libthread: deal with _schedfork() and _schedexec() returning -1cinap_lenrek
The current behaviour of the kernel to deadlock itself instead of returning an error on fork. This might change in the future, so prepare libthread to handle this case. For _schedfork(), we'r going to just retry forking on every switch, while for _schedexec(), the exec will fail and send ~0 down the pid channel.
2015-02-28libthread: remove unused internal functions and old xinc assembler filescinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen