Commits


libthread: add threadmaybackground Programs that want to background themselves now need to define threadmaybackground returning 1. This avoids a confusing (to people and debuggers) extra parent process for all the threaded programs that will never want to background themselves.


libthread: add threadspawnd R=rsc http://codereview.appspot.com/6742064


libthread: remove unimplemented chaninit


libthread: simplify alt tracking, possibly fixing bug


pin


Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.


add procwait


add threadidle


add threadid


add threaddata; correct Alt order


add threadgetname


fix typo


add threadspawnl


do not call exits in threaded programs


Many small edits.