Commits


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.


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: fix test deps, cleanup in mkfile


libthread: use consistent stack calculation code in makecontext Also reduce duplication: makecontext is per-arch not per-os-arch. May fix #353.


libthread: remove Linux 2.4 code Linux.c was for Linux 2.4 and is no longer used directly, only indirectly because NetBSD.c was a 1-line file #including Linux.c. So mv Linux.c NetBSD.c. Also rm Linux-*-asm.s which was for Linux 2.4 as well.


libthread: rm FreeBSD 4 code Pretty sure FreeBSD 4 is gone now. :-)


openbsd updates (thanks Pascal Stumpf) R=rsc http://codereview.appspot.com/6401049


build: OS X 64-bit build R=rsc http://codereview.appspot.com/4838047


libthread: Apple OS X 10.5 (Leopard) tweaks (Jeff Sickel, Bakul Shah)


fixes


more sparc64


sparc64 rule


add wait


OpenBSD, thanks to Tim Wiess


try a different approach to .S files