Commit Graph

229 Commits

Author SHA1 Message Date
rsc
8712d1a38e more 2006-02-16 06:18:19 +00:00
rsc
229086e790 more fix 2006-02-16 06:11:08 +00:00
rsc
07b075d589 more sparc64 2006-02-16 06:02:46 +00:00
rsc
05eb37f267 maybe 2006-02-14 07:35:14 +00:00
rsc
76a78f4320 sparc64 rule 2006-02-14 06:52:41 +00:00
rsc
4940b55216 add wait 2006-02-12 16:48:50 +00:00
rsc
0c7c441e90 sparc64 attempt 2006-02-10 05:32:42 +00:00
rsc
bafbb3918a doubtful this will work 2006-02-09 08:20:11 +00:00
rsc
615e0f9fb2 add threadidle 2006-02-07 17:02:05 +00:00
rsc
9eda38e51f add threadid 2006-02-05 17:50:09 +00:00
rsc
784d655067 typo 2006-01-27 18:52:43 +00:00
rsc
c54b8b69ed bsd 2006-01-27 05:51:54 +00:00
rsc
826babae95 more strangeness (Tim Wiess) 2005-12-29 21:38:42 +00:00
rsc
93eb0e23c0 mac 2005-11-09 12:23:53 +00:00
rsc
ac3d129813 const 2005-11-04 19:00:17 +00:00
rsc
a81eb4ca63 try again 2005-11-04 18:10:30 +00:00
rsc
33a102fc28 try arm again 2005-11-04 18:09:35 +00:00
rsc
1e05fdf92c use macro for getcontext (setjmp) 2005-11-04 16:34:19 +00:00
rsc
b4d5d19438 new FreeBSD 2005-11-03 01:00:56 +00:00
rsc
2494fc9fa0 arm 2005-11-03 00:48:14 +00:00
rsc
9aa463c541 arm 2005-11-03 00:13:33 +00:00
rsc
f51bf04878 arm 2005-11-01 18:35:44 +00:00
rsc
48ca8d21f7 FreeBSD changed! 2005-11-01 18:35:25 +00:00
rsc
6dde87f83c Print information on SIGQUIT, SIGINFO. 2005-09-26 12:05:26 +00:00
rsc
5b0927915f Log if _threaddebuglevel is set. 2005-09-26 11:37:49 +00:00
rsc
9f7a3e020e new 2005-08-22 16:56:28 +00:00
rsc
ae89363c30 Needed for NetBSD/macppc port. 2005-08-11 14:15:34 +00:00
rsc
b20b42b837 Ridiculous amount of work for OpenBSD. 2005-08-10 18:48:31 +00:00
rsc
f19d56825d different fix 2005-07-28 12:43:41 +00:00
rsc
9689b580bd Try to avoid races in underlying C library
during threadexitsall.
2005-07-27 20:25:34 +00:00
rsc
d08f40666b sun 2005-07-27 13:06:50 +00:00
rsc
0f196d0380 openbsvd 2005-07-21 18:29:59 +00:00
rsc
fe8c925e8a OpenBSD, thanks to Tim Wiess 2005-07-21 18:29:04 +00:00
rsc
2860b3559c openbsd 2005-07-21 00:03:55 +00:00
rsc
b4b686415d openbsd 2005-07-20 23:29:56 +00:00
rsc
42a57eff1c better architecture splitting 2005-07-19 17:40:15 +00:00
rsc
bea4b9f724 openbsd 2005-07-19 11:48:01 +00:00
rsc
9d654ebc8c openbsd 2005-07-19 11:43:12 +00:00
rsc
1041ea6f68 stolen from freebsd; maybe work on openbsd? 2005-07-19 11:43:01 +00:00
rsc
2b6040818e use full prototypes 2005-05-07 22:42:14 +00:00
rsc
bc7da02954 OS X Tiger changes 2005-05-07 22:41:59 +00:00
rsc
910ca53df0 try a different approach to .S files 2005-05-01 22:28:11 +00:00
rsc
cea10000c5 OpenBSD/power support. 2005-05-01 18:38:12 +00:00
rsc
8e4ae643c3 more netbsd support. 2005-03-28 19:37:33 +00:00
rsc
5ba33c04da NetBSD support. Thanks to Christoph Lohmann. 2005-03-28 15:58:14 +00:00
rsc
0ba4eb47d4 no need to setproc(0) 2005-03-18 19:05:50 +00:00
rsc
72f4d44f86 do not touch TSTP, TTIN, TTOU 2005-03-18 19:04:49 +00:00
rsc
8dd8a81f71 add threaddata 2005-03-18 18:56:17 +00:00
rsc
d7688cce37 add check for procscheduler returning 2005-02-16 17:15:56 +00:00
rsc
80b8842f3e hard-to-find locking bug 2005-02-15 18:08:28 +00:00
rsc
8ee6ad4d96 different fix for main proc bug 2005-02-14 18:58:56 +00:00
rsc
8f4871fd2e work around stupid linux bug 2005-02-13 18:35:19 +00:00
rsc
31f809b54d remove debugging 2005-02-08 19:13:34 +00:00
rsc
46cfcf550f stupid gcc 2005-02-03 15:41:39 +00:00
rsc
669a062b5a osprocid can be -1 2005-01-30 16:35:05 +00:00
rsc
1fdb4a5450 rename scheduler to have a more distinctive name, so stack traces can end there 2005-01-23 22:57:53 +00:00
rsc
a0e8d02d09 Apparently SuSE 9.1's X distribution uses even bigger
buffers than the standard ones.  64kB appears to be enough
for a stack in that case, but let's just go nuts and make
the stacks enormous, so that it takes a few more doublings
of X's stack needs before we run into this problem again.

The VM system should take care of not actually using most
of the memory anyway.
2005-01-23 16:02:04 +00:00
rsc
803292c631 proccreate race 2005-01-18 20:53:12 +00:00
rsc
515b6e5bff add threadgetname 2005-01-18 20:17:12 +00:00
rsc
668b32b76c explain nptl stuff 2005-01-18 18:14:14 +00:00
rsc
9a4f7bced2 explain nptl stuff 2005-01-18 18:13:24 +00:00
rsc
3d867865ef better exit handling 2005-01-18 18:13:16 +00:00
rsc
8650250482 64-bit nonsense 2005-01-18 05:57:35 +00:00
rsc
4753f0691a more exits 2005-01-17 21:30:15 +00:00
rsc
7a2c88509b allow config to override kernel version 2005-01-17 21:30:05 +00:00
rsc
0b561695d6 useful warning comment 2005-01-16 21:31:21 +00:00
rsc
a0d2173ce4 too big fd 2005-01-16 17:37:11 +00:00
rsc
c358f4aa5e license 2005-01-14 19:42:33 +00:00
rsc
2b3b1e8984 oops sunos 2005-01-14 18:11:21 +00:00
rsc
4a8edd8d41 add procwakeupandunlock 2005-01-14 17:56:21 +00:00
rsc
1ac1981659 where did this change go? 2005-01-14 17:31:01 +00:00
rsc
c8b6342d3c Many small edits. 2005-01-13 04:49:19 +00:00
rsc
37cc72d323 paranoia 2005-01-11 21:28:00 +00:00
rsc
e9dbe11dbf don't rfork(RFNOTEG) because then you lose
the ability to read from the console.  damn.

also, handle case where child exits before
fork returns in parent.  have to record that
sigchld was seen and then run the handler later.
2005-01-11 21:06:55 +00:00
rsc
b8f742db85 os x changes 2005-01-11 17:43:53 +00:00
rsc
515bd9ec76 do rfork(RFNOTEG) before exec 2005-01-10 00:28:14 +00:00
rsc
6af7b77611 oops 2005-01-07 22:59:51 +00:00
rsc
50f7ec339a initial darwin 2005-01-07 21:47:30 +00:00
rsc
1aa9c533e0 allow lock passing 2005-01-07 20:52:07 +00:00
rsc
c345061e8d sunos fixes 2005-01-07 07:47:37 +00:00
rsc
a0a331aad9 add _procwakeupandunlock
to help ease locking contention
on Linux 2.4.
2005-01-06 23:43:42 +00:00
rsc
815552b9ed go back to 1000 scheds 2005-01-06 23:13:56 +00:00
rsc
a620761c92 add some annoying lock loop prints -- let's see
if they ever fire.

also fix race in delaystack.  it was actually happening!
that just goes to show that while i can reason very well
about what can and cannot happen, i have no intuition
at all for how likely they are.
2005-01-06 23:08:55 +00:00
rsc
af89fc108d more debugging 2005-01-06 23:07:19 +00:00
rsc
c7acb53e03 add _threaddaemonize 2005-01-04 22:23:24 +00:00
rsc
15cd8255b5 more debugging 2005-01-04 22:22:18 +00:00
rsc
230ead2fbe better handling 2005-01-04 22:22:09 +00:00
rsc
f6127ed209 more tests 2005-01-04 22:15:53 +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
31cf0ab11f attempt at FreeBSD pre-5 support 2004-12-28 03:50:11 +00:00
rsc
93eb807ac2 remove debugging 2004-12-28 03:42:11 +00:00
rsc
ddb664da1b add threaddaemonize 2004-12-28 01:45:39 +00:00
rsc
96d6b19dcd new test program 2004-12-28 01:36:53 +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
8cd0011323 figure out which files to put in the library 2004-12-27 16:53:01 +00:00