Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-02-11 | libthread: fix ARM build by renaming file | Neven Sajko | 1 | -0/+0 | |
Fixes #363 Change-Id: Ic8ad5ccce3935fdf00732d78d3024b535db90447 | |||||
2020-01-24 | libthread: comment stack border a bit more | Russ Cox | 1 | -4/+10 | |
2020-01-19 | libthread: fix test deps, cleanup in mkfile | Russ Cox | 1 | -1/+4 | |
2020-01-19 | libthread: clean up sysofiles.sh a bit more | Russ Cox | 1 | -25/+10 | |
2020-01-19 | libthread: rm OpenBSD tas implementations | Russ Cox | 2 | -23/+1 | |
OpenBSD is using pthreads now, so no need for tas. | |||||
2020-01-19 | libthread: use consistent stack calculation code in makecontext | Russ Cox | 11 | -83/+36 | |
Also reduce duplication: makecontext is per-arch not per-os-arch. May fix #353. | |||||
2020-01-19 | libthread: rm NetBSD pthread reference in sysofiles.sh | Russ Cox | 1 | -1/+1 | |
It may be that pthreads on NetBSD is now good enough, but the build as written (introduced in 23a2368 at my suggestion) is certainly broken, since both NetBSD.c and pthread.c define the same functions. If NetBSD does support pthreads now, then a few things should happen together: - libthread/sysofiles.sh should drop its top NetBSD case entirely - libthread/NetBSD.c should be deleted - libthread/NetBSD-*-asm.s should be deleted - include/u.h's NetBSD case should define PLAN9PORT_USING_PTHREADS and #include <pthread.h> For now, restore to less clearly broken build. | |||||
2020-01-19 | all: remove Linux 2.4 vs 2.6 detection | Russ Cox | 2 | -44/+3 | |
Linux 2.4 is dead. (The libthread code hasn't worked for Linux 2.4 for a long time.) | |||||
2020-01-19 | libthread: remove Linux 2.4 code | Russ Cox | 7 | -513/+462 | |
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. | |||||
2020-01-19 | libthread: rm unused sparc-ucontext.h | Russ Cox | 2 | -37/+0 | |
More dead code. | |||||
2020-01-19 | libthread: rm Darwin pre-11.0.0 support | Russ Cox | 5 | -192/+0 | |
Darwin 11.0.0 was Mac OS X 10.7.0 aka Lion. The previous version was Snow Leopard, which has been unsupported by Apple since February 2014. | |||||
2020-01-19 | libthread: rm FreeBSD 4 code | Russ Cox | 6 | -500/+52 | |
Pretty sure FreeBSD 4 is gone now. :-) | |||||
2020-01-19 | libthread: rm OpenBSD.c | Russ Cox | 1 | -145/+0 | |
This should have been deleted in 20f5692b (2012-07-14), which removed the mkfile and sysofiles.sh references to it. | |||||
2020-01-19 | libthread: rm unused ARM (get|set)mcontext (#354) | Neven Sajko | 1 | -43/+0 | |
They were just a duplicate of my(get|set)mcontext from the other assembly file, and unused from threadimpl.h. Change-Id: Id8003e5177ed9d37a7f0210037acbe55bbf7f708 | |||||
2020-01-16 | libthread: NetBSD supports pthreads, remove ancient systems in sysofiles.sh | Dan Cross | 1 | -8/+1 | |
Signed-off-by: Dan Cross <cross@gajendra.net> | |||||
2020-01-14 | libthread: use mmap to allocate OpenBSD stacks | Russ Cox | 6 | -8/+61 | |
Should fix faults on OpenBSD. Fixes #218. Fixes #226. | |||||
2020-01-13 | libthread: fix fault in teardown of proc | Russ Cox | 2 | -1/+2 | |
Fixes #332. | |||||
2020-01-13 | libthread: fix nbrecvul, recvul to match man page, Plan 9 | Russ Cox | 1 | -2/+2 | |
They return 0 on failure, not -1. Bug introduced in my original libthread-for-Unix code. Fixes #230. | |||||
2020-01-12 | libthread: run first thread in proc on system stack | Russ Cox | 3 | -17/+47 | |
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. | |||||
2020-01-10 | Trivial changes: whitespace and modes. | Dan Cross | 23 | -54/+29 | |
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> | |||||
2012-10-22 | libthread: add threadspawnd | Russ Cox | 2 | -6/+16 | |
R=rsc http://codereview.appspot.com/6742064 | |||||
2012-10-20 | fix gcc 4.7 warnings (thanks Tuncer Ayaz) | Russ Cox | 1 | -2/+1 | |
R=rsc http://codereview.appspot.com/6744053 | |||||
2012-07-14 | openbsd updates (thanks Pascal Stumpf) | Russ Cox | 7 | -138/+80 | |
R=rsc http://codereview.appspot.com/6401049 | |||||
2011-10-23 | OS X PowerPC fixes (thanks Cameron Kaiser) | Russ Cox | 2 | -2/+2 | |
2011-10-14 | libthread: fix 10.5.8 build - uname says 9.8.0 | Russ Cox | 1 | -1/+1 | |
2011-10-13 | libthread: Lion context routines | Russ Cox | 6 | -3/+129 | |
2011-08-02 | build: OS X 64-bit build | Russ Cox | 5 | -18/+27 | |
R=rsc http://codereview.appspot.com/4838047 | |||||
2011-05-18 | arm: build fixes | Richard Miller | 3 | -20/+17 | |
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 | |||||
2009-11-18 | libthread: context switching for arm, still not complete | Russ Cox | 4 | -4/+78 | |
2009-09-11 | INSTALL: fix build on Snow Leopard | Russ Cox | 1 | -0/+3 | |
http://codereview.appspot.com/116073 | |||||
2009-08-17 | libthread: make page work on OS X | Russ Cox | 2 | -0/+5 | |
2008-12-23 | libthread: work around gcc warning on FreeBSD | Russ Cox | 1 | -1/+1 | |
2008-10-26 | libthread: correct sysfatal handler prototype | Russ Cox | 1 | -4/+2 | |
2008-07-20 | libthread: add proper sysfatal | Tim Wiess | 1 | -0/+16 | |
2008-07-09 | libthread: abort on single-threaded lock contention | Russ Cox | 1 | -0/+24 | |
2008-06-01 | libthread: fix 64-bit bug in threadstart (Nathaniel Filardo) | Russ Cox | 1 | -1/+1 | |
2008-05-06 | libthread: fix no-receive nbrecv etc. bug (David Jeannot) | Russ Cox | 1 | -8/+12 | |
2008-05-05 | libthread: input sanity checks | Russ Cox | 1 | -2/+3 | |
2008-02-28 | libthread: remove bogus write in threadmain | Russ Cox | 1 | -1/+0 | |
2007-11-05 | libthread: use our own swapcontext/makecontext even on OS X 10.5 | Russ Cox | 2 | -5/+11 | |
2007-11-03 | libthread: better OS X 10.5 test (Jeff Sickel) | Russ Cox | 1 | -1/+1 | |
2007-10-30 | libthread: Apple OS X 10.5 (Leopard) tweaks (Jeff Sickel, Bakul Shah) | Russ Cox | 3 | -9/+12 | |
2007-08-22 | libthread: simplify alt tracking, possibly fixing bug | Russ Cox | 2 | -7/+9 | |
2007-05-01 | use standard sun context routines | rsc | 1 | -0/+6 | |
2007-01-18 | Mac FUSE support (thanks to Jeff Sickel) | rsc | 1 | -1/+0 | |
2006-06-26 | pin | rsc | 1 | -0/+1 | |
2006-06-26 | pin | rsc | 1 | -0/+52 | |
2006-06-12 | fix proc leak; add p9usepwlibrary | rsc | 2 | -2/+9 | |
2006-06-04 | sparc | rsc | 1 | -0/+24 | |
2006-06-04 | set RFNOTEG when we can | rsc | 3 | -1/+14 | |