rsc
43db87f1fc
bug fix -- need to enqueue before sending the packet,
...
in case the response comes back and another thread
tries to give it to us, all before we are enqueued.
2004-12-27 00:13:33 +00:00
rsc
4bef0baf95
changes from plan 9
2004-12-27 00:13:04 +00:00
rsc
94235a8b4b
change to use new thread library
2004-12-27 00:12:54 +00:00
rsc
9cb6f43045
bad name
2004-12-27 00:12:22 +00:00
rsc
186a31de6b
add for porting
2004-12-27 00:12:12 +00:00
rsc
6850febee1
porting changes
2004-12-27 00:11:46 +00:00
rsc
eb7f99c552
fmtdef.h needed for VA_COPY
2004-12-27 00:11:32 +00:00
rsc
cdccf023aa
add isNaN
2004-12-27 00:11:13 +00:00
rsc
e686c2b35e
forgot this
2004-12-27 00:11:01 +00:00
rsc
52e73e955b
add portdate
2004-12-26 23:59:30 +00:00
rsc
1b1434ebce
changes from plan 9. some clean-up.
2004-12-26 23:59:10 +00:00
rsc
127d5444fb
add portdate
2004-12-26 23:48:25 +00:00
rsc
be83c8415c
add portdate
2004-12-26 23:45:12 +00:00
rsc
66209ac0fe
changes from plan 9
2004-12-26 23:42:38 +00:00
rsc
bd8cb1a5b3
add portdate
2004-12-26 23:31:14 +00:00
rsc
6b322694f2
plan 9 changes
2004-12-26 23:26:46 +00:00
rsc
36a503c185
add portdate
2004-12-26 23:26:37 +00:00
rsc
b20f06ab9c
use new thread library
2004-12-26 23:24:32 +00:00
rsc
d9f3e89e5e
use volatile correctly
2004-12-26 23:24:14 +00:00
rsc
beff571cfd
add portdate
2004-12-26 23:23:57 +00:00
rsc
a743b8faa2
add portdate
2004-12-26 23:19:25 +00:00
rsc
5787ba4d73
add proper locking for libfmt!
2004-12-26 23:17:18 +00:00
rsc
a3add39bbc
plan 9 changes
2004-12-26 23:17:03 +00:00
rsc
00975b7ef1
add portdate
2004-12-26 23:10:19 +00:00
rsc
5cd259167b
portdates
2004-12-26 23:08:53 +00:00
rsc
ae1c9bc4ab
more tests
2004-12-26 23:07:49 +00:00
rsc
df121a0027
import changes from plan 9
2004-12-26 23:07:37 +00:00
rsc
a76c0fd4a9
pick up plan 9 fltfmt changes
2004-12-26 22:36:52 +00:00
rsc
3f1a219769
various little changes.
...
also pick up latest fltfmt from plan 9
2004-12-26 22:36:12 +00:00
rsc
5f8fa94796
cleanups - lots of removed files now in thread library.
...
qlock.c - stubs to thread library
notify.c - clean interface slightly.
2004-12-26 21:51:15 +00:00
rsc
b2ff538258
add for unix port
2004-12-26 21:50:39 +00:00
rsc
bd36f714d2
add for unix port
2004-12-26 21:50:28 +00:00
rsc
e5aa96acbf
clean up for unix port
2004-12-26 21:50:14 +00:00
rsc
5c8a042171
updates from plan 9
2004-12-26 21:46:26 +00:00
rsc
60535a5ff6
make work with new thread library
2004-12-26 21:37:31 +00:00
rsc
f99790979b
update to use new thread library
2004-12-26 02:10:47 +00:00
rsc
6a5c5d4870
remove empty qlock.c
2004-12-26 02:08:53 +00:00
rsc
1cc215aaf9
better unwinding for 386.
...
command-line extraction from core files on linux and freebsd.
move linux ureg into ureg386.h (used in many places).
2004-12-25 22:03:28 +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
7788fd5409
fix from forsyth via rob
2004-12-25 01:54:02 +00:00
rsc
5e2e4f8239
allow last column to be deleted
2004-11-15 16:19:03 +00:00
rsc
24f4e66b12
still more files
2004-11-08 16:04:01 +00:00
rsc
cf4f3eafc6
extra files
2004-11-08 16:03:42 +00:00
rsc
1956455367
more thread work
2004-11-08 16:03:20 +00:00
rsc
77dcf88474
stupid port bug. cannot use %ld to print a long as a *CHARACTER*
2004-11-03 14:27:30 +00:00
rsc
0d0bad2ee4
bug fix in Get from rob
2004-11-01 17:26:59 +00:00
rsc
9acaad4570
clean up signal handling
2004-10-23 02:59:33 +00:00
rsc
f6c9a57869
figure out which thread implementation to use
2004-10-22 18:46:18 +00:00
rsc
5093c3fa40
try to implement the daemonize hack.
2004-10-22 18:45:08 +00:00
rsc
048610b7ea
handle interrupt right
2004-10-22 18:11:38 +00:00
rsc
fd40164450
gas workaround
2004-10-22 18:11:04 +00:00
rsc
793d93626b
new test program
2004-10-22 17:15:47 +00:00
rsc
ba15d71b0c
debugging, more pthreads crap
2004-10-22 17:15:30 +00:00
rsc
493f3d0fbf
make sure a write of 0 bytes does a 0-length write.
2004-10-22 17:14:17 +00:00
rsc
298f6bd657
print 0 %ux as 0x0
2004-10-22 17:13:54 +00:00
rsc
32116738e1
more debugging
2004-10-22 17:12:38 +00:00
rsc
aa200fe309
try to avoid calling notify on the "dumb" signals
2004-10-22 17:12:11 +00:00
rsc
99834d136f
add core dump and signal to status line
2004-10-22 17:11:47 +00:00
rsc
012a8a02d5
change md argument to number etc. (which acted only as a flag)
...
to an actual flag.
buffer underrun check in number
add xdata file for exactly the addressed region
save addr across opens
2004-10-22 17:11:30 +00:00
rsc
e63027eb68
formatting
2004-10-22 17:08:13 +00:00
rsc
3e6107910e
exit 9p on interrupt signal. should do better job here.
2004-10-22 17:05:24 +00:00
rsc
d371199605
run 9c before 9a because gas doesn't exit with non-zero status when the file doesn't exist
2004-10-22 17:04:31 +00:00
rsc
ad00bb91b9
use threadexitsall
2004-10-17 05:33:14 +00:00
rsc
f002cc17a6
print out signalled exits
2004-10-17 05:29:53 +00:00
rsc
39cff6e750
add ulimit and umask as builtins
2004-10-17 05:19:53 +00:00
rsc
c3e73c01e3
remove socket at exit
2004-10-17 04:18:55 +00:00
rsc
42c3794c5c
fix interrupt handling, add clumsy way to get at text buffer contents
2004-10-17 04:06:56 +00:00
rsc
63853aa069
bug fix in Zerox arrow handling from rob
2004-10-17 00:12:14 +00:00
rsc
0ffd63f553
embarrassing bug in keyboard data
2004-10-16 23:29:16 +00:00
rsc
8537259f82
Fix bug in rune half of __fmtcpy reported by rob.
2004-09-28 16:23:32 +00:00
rsc
53998c99d6
autoindent fixes from rob
2004-09-28 16:10:49 +00:00
rsc
ad6638adc7
add this.
2004-09-23 21:40:21 +00:00
rsc
e7821682ea
add pthread
2004-09-23 19:03:46 +00:00
rsc
05d8c6df6c
Get rid of 9proc.
2004-09-23 03:06:04 +00:00
rsc
040d1d02f5
Get rid of 64-bit constants.
2004-09-23 03:05:40 +00:00
rsc
709efa017c
Add stringn builtin.
2004-09-23 03:04:33 +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
3d5e34e146
little fixes
2004-09-21 01:06:20 +00:00
rsc
e5c26b01f7
various forgotten files
2004-09-20 15:08:57 +00:00
rsc
dcc9531c5a
bug fix
2004-09-20 15:07:44 +00:00
rsc
8d4a3514a8
was ffork-Linux.c.
2004-09-17 22:11:21 +00:00
rsc
282c88f9de
Bite the bullet. Have to use different
...
binaries on 2.4 and 2.6.
2004-09-17 22:09:31 +00:00
rsc
b4c842f139
small tweaks
2004-09-17 22:08:43 +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
984e353160
PowerPC Linux support from ericvh.
...
Mainly adding va_copy/va_end.
Also fix bug in sprint wrapping
around top of memory.
2004-08-22 15:39:56 +00:00
rsc
18b0811745
fix various little bugs
2004-08-17 15:32:40 +00:00
rsc
e3e30cff40
Fix huge bug in lex, introduced by porting.
...
Surprising that anything worked.
2004-08-17 15:30:36 +00:00
rsc
d16cfe2431
handle grap.defines properly
2004-08-16 17:20:41 +00:00
rsc
bdf49b7ee0
better handling of top/active
2004-08-13 14:23:41 +00:00
rsc
2c1b986edf
better mask handling, don't raise windows quite so eagerly.
2004-08-13 13:57:58 +00:00
rsc
73bef9b76b
More consistent use of _exits and exits
...
in place of _exit and exit.
2004-08-11 01:56:35 +00:00
rsc
bf00efba2d
forgot to write this change before
2004-08-06 14:14:38 +00:00
rsc
56afeac8ea
different delete handling from axel.
...
who knows what it fixes or breaks.
2004-08-06 12:57:43 +00:00
rsc
0fa6e0cfbf
Make comment match code.
2004-08-06 12:44:41 +00:00
wkj
8773b4b238
Try to be more clever about re-enabling terminal echo.
...
From Axel Belinfante.
2004-08-02 15:21:38 +00:00
wkj
a87638642c
Compare function pointers against 0 rather than nil.
2004-07-09 01:54:06 +00:00
wkj
eac9e0183f
Wc used but not set.
2004-07-09 01:34:15 +00:00