Commit graph

29 commits

Author SHA1 Message Date
rsc
a0a331aad9 add _procwakeupandunlock
to help ease locking contention
on Linux 2.4.
2005-01-06 23:43:42 +00:00
rsc
c7acb53e03 add _threaddaemonize 2005-01-04 22:23:24 +00:00
wkj
0debe1c681 Use FreeBSD-approved method for determining FreeBSD version. 2004-12-29 01:29:42 +00:00
rsc
1d2533d010 restore old plan 9 property that when the
last thread exits the main proc, the remaining
program ends up in the background and the
program appears to have exited.
2004-12-28 22:36:24 +00:00
rsc
d54ead7fb9 more freebsd work 2004-12-28 04:20:39 +00:00
rsc
2c87dda8f8 add threaddaemonize(), more bug fixes 2004-12-28 01:35:38 +00:00
rsc
8cbd854a8a better exec handling 2004-12-27 19:11:33 +00:00
rsc
955a2ca78d starting to work on Linux 2004-12-27 18:21:58 +00:00
rsc
e127e40bb1 shuffle to allow use of execchan in non-pthreads impls 2004-12-27 17:19:44 +00:00
rsc
4dbefdd41c start linux pre-2.6 port 2004-12-27 16:52:26 +00:00
rsc
73722a8bbf confine pthreads to pthread.c 2004-12-27 03:49:03 +00:00
rsc
e1dc7e4511 signal handling, add prototype for pthreadinit 2004-12-27 00:13:48 +00:00
rsc
619085f0b4 more new libthread 2004-12-25 21:57:50 +00:00
rsc
1544f90960 New thread library 2004-12-25 21:56:33 +00:00
rsc
1956455367 more thread work 2004-11-08 16:03:20 +00:00
rsc
5093c3fa40 try to implement the daemonize hack. 2004-10-22 18:45:08 +00:00
rsc
7966faa931 Continue fighting pthreads.
Clean up thread library a bit too.
2004-09-23 03:01:36 +00:00
rsc
c6687d4591 Continue the pthreads torture. 2004-09-21 01:11:28 +00:00
rsc
bcf527a98e Continue switching library over to pthreads when possible.
Tprimes works on Linux 2.6.  You can only have 128 procs
though.
2004-09-17 03:34:32 +00:00
rsc
06bb4ed20d Rewrite to remove dependence on rendezvous and its bizarre
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-09-17 00:38:29 +00:00
rsc
c4097c2951 Fix small bugs. 2004-05-11 17:51:27 +00:00
rsc
a3785ca2cc Tweaks to make libthread tell Valgrind about its stack limits,
so that Valgrind can detect stack overflow for me.
2004-04-21 19:29:04 +00:00
rsc
d49a2e4801 Various fixes, add spell. 2004-03-09 12:45:12 +00:00
rsc
02a1a5c18b Debugging libthread for acme. 2004-03-05 01:12:11 +00:00
rsc
5a8e63b2f0 Fighting the good fight.
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-29 22:10:26 +00:00
rsc
32f69c36e0 Add support for user-level 9P servers/clients and various bug fixes to go with them. 2003-12-11 17:48:38 +00:00
rsc
e97ceade5e various tweaks. 2003-12-06 18:05:27 +00:00
rsc
2db9e4821d tweaks. 2003-11-24 20:16:30 +00:00
rsc
76193d7cb0 Initial revision 2003-09-30 17:47:42 +00:00