libthread: simplify

Now that everything uses pthreads and pthreadperthread,
can delete various conditionals, all the custom context code,
and so on. Also update documents.

Fixes #355.
This commit is contained in:
Russ Cox 2020-12-30 07:18:30 -05:00
parent e68f07d46f
commit 1857120806
23 changed files with 16 additions and 1481 deletions

View file

@ -1,15 +1,14 @@
<$PLAN9/src/mkhdr
SYSOFILES=`{sh ./sysofiles.sh}
LIB=libthread.a
OFILES=\
$SYSOFILES\
bg.$O\
channel.$O\
daemonize.$O\
exec.$O\
ioproc.$O\
iorw.$O\
pthread.$O\
ref.$O\
thread.$O\
wait.$O\