plan9fox/sys
cinap_lenrek 07608c768f libthread: deal with _schedfork() and _schedexec() returning -1
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.
2021-10-12 00:49:12 +00:00
..
doc
games/lib fortunes: unremove 2021-07-08 15:47:49 +00:00
include qsort: ...forgot to include headers in the commit. 2021-08-11 13:10:14 +00:00
lib /sys/lib/acid/pool: format addresses using A format, instead of X (32 bit) 2021-09-25 14:51:23 +00:00
man addpt(2): fix inconsistency in description 2021-10-10 17:13:57 +00:00
src libthread: deal with _schedfork() and _schedexec() returning -1 2021-10-12 00:49:12 +00:00