Commits


libthread: use mmap to allocate OpenBSD stacks Should fix faults on OpenBSD. Fixes #218. Fixes #226.


libthread: fix fault in teardown of proc Fixes #332.


libthread: run first thread in proc on system stack For pthread systems that are fussy about which stack is used, this makes sure that threadmain runs on a system stack. If you only use proccreate (never threadcreate), all threads run on system stacks.


Trivial changes: whitespace and modes. Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>


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


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


OS X PowerPC fixes (thanks Cameron Kaiser)


libthread: Lion context routines


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


arm: build fixes Get p9p to build cleanly for ARM - based on suggestions from rsc and eekee, plus a final tweak from me. Tested (a bit) on sheevaplug (ubuntu jaunty), Nokia N800 (maemo 4) and Nokia N900 (maemo 5). R=rsc CC=plan9port.codebot http://codereview.appspot.com/4524056


libthread: context switching for arm, still not complete


INSTALL: fix build on Snow Leopard http://codereview.appspot.com/116073


libthread: use our own swapcontext/makecontext even on OS X 10.5


libthread: better OS X 10.5 test (Jeff Sickel)


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