Commits


lock using Lock instead of QLock. qlocks are complicated enough that they need to be able to print during debugging.


confine pthreads to pthread.c


add chansetname prototype


as wkj pointed out, notifyseton should not call notesetenable


fix to handle new


remove debugging


changes from plan 9


change to use new thread library


clone is a bad word on linux


handle pty correctly on linux


add readn to avoid need for plan9port libc


change to use new thread library


various changes from plan 9


signal handling, add prototype for pthreadinit


bug fix -- need to enqueue before sending the packet, in case the response comes back and another thread tries to give it to us, all before we are enqueued.