aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/mkfile
AgeCommit message (Collapse)AuthorFilesLines
2020-12-30libthread: simplifyRuss Cox1-2/+1
Now that everything uses pthreads and pthreadperthread, can delete various conditionals, all the custom context code, and so on. Also update documents. Fixes #355.
2020-12-30libthread: add threadmaybackgroundRuss Cox1-0/+1
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.
2020-01-19libthread: fix test deps, cleanup in mkfileRuss Cox1-1/+4
2020-01-19libthread: use consistent stack calculation code in makecontextRuss Cox1-2/+2
Also reduce duplication: makecontext is per-arch not per-os-arch. May fix #353.
2020-01-19libthread: remove Linux 2.4 codeRuss Cox1-1/+0
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-19libthread: rm FreeBSD 4 codeRuss Cox1-1/+0
Pretty sure FreeBSD 4 is gone now. :-)
2012-07-14openbsd updates (thanks Pascal Stumpf)Russ Cox1-1/+1
R=rsc http://codereview.appspot.com/6401049
2011-08-02build: OS X 64-bit buildRuss Cox1-3/+1
R=rsc http://codereview.appspot.com/4838047
2007-10-30libthread: Apple OS X 10.5 (Leopard) tweaks (Jeff Sickel, Bakul Shah)Russ Cox1-7/+7
2006-02-16fixesrsc1-0/+3
2006-02-16more sparc64rsc1-1/+1
2006-02-14sparc64 rulersc1-0/+4
2006-02-12add waitrsc1-0/+1
2005-07-21OpenBSD, thanks to Tim Wiessrsc1-3/+2
2005-05-01try a different approach to .S filesrsc1-0/+7
2005-05-01OpenBSD/power support.rsc1-4/+3
2005-03-28NetBSD support. Thanks to Christoph Lohmann.rsc1-1/+3
2005-02-08remove debuggingrsc1-1/+0
2004-12-28more freebsd workrsc1-0/+2
2004-12-28remove debuggingrsc1-1/+1
2004-12-28add threaddaemonize(), more bug fixesrsc1-0/+1
2004-12-27start linux pre-2.6 portrsc1-1/+3
2004-12-26remove empty qlock.crsc1-1/+0
2004-12-25more new libthreadrsc1-0/+39
2004-12-25New thread libraryrsc1-73/+0
2004-11-08more thread workrsc1-6/+6
2004-10-22try to implement the daemonize hack.rsc1-2/+4
2004-10-22debugging, more pthreads craprsc1-0/+3
2004-09-23Continue fighting pthreads.rsc1-2/+2
Clean up thread library a bit too.
2004-09-17Continue switching library over to pthreads when possible.rsc1-0/+3
Tprimes works on Linux 2.6. You can only have 128 procs though.
2004-09-17Rewrite to remove dependence on rendezvous and its bizarrersc1-4/+3
data structures. Makes it easier to use pthreads too. Still need to add code for non-pthreads systems. Just a checkpoint to switch work to another machine.
2004-08-22PowerPC Linux support from ericvh.rsc1-0/+1
Mainly adding va_copy/va_end. Also fix bug in sprint wrapping around top of memory.
2004-05-11Fix small bugs.rsc1-0/+1
2004-04-21odds and endsrsc1-0/+6
2004-04-21Tweaks to make libthread tell Valgrind about its stack limits,rsc1-0/+3
so that Valgrind can detect stack overflow for me.
2004-04-19clean up when finished.rsc1-1/+0
don't set PLAN9 don't set PLAN9
2004-02-29Fighting the good fight.rsc1-0/+2
Move libfmt, libutf into subdirectories of lib9. Add poll-based socket i/o to libthread, so that we can avoid using multiple procs when possible, thus removing dependence on crappy pthreads implementations. Convert samterm, acme to the single-proc libthread. Bring libcomplete, acme up-to-date w.r.t. Plan 9 distribution.
2004-02-09various tweaks.rsc1-0/+2
2003-11-23make -> mkrsc1-0/+52
remove clumsy stack hack. fix exec. fix nthreads maintenance. fix threadexitsall not to kill self. add sun support.
2003-09-30Reorgrsc1-2/+0
2003-09-30Initial revisionrsc1-0/+2