Commit graph

740 commits

Author SHA1 Message Date
rsc
f4b26b64bc do threading right 2005-01-04 22:17:10 +00:00
rsc
b10db40d3b exit correctly 2005-01-04 22:17:00 +00:00
rsc
28aaab76cf exit correctly. 2005-01-04 22:16:38 +00:00
rsc
8cc98332ad use 9pclient 2005-01-04 22:16:30 +00:00
rsc
f6127ed209 more tests 2005-01-04 22:15:53 +00:00
rsc
ed01060152 3d color cube 2005-01-04 22:13:32 +00:00
rsc
2ce287bb13 don't use (){} struct constructor 2005-01-04 22:10:43 +00:00
rsc
372e9667df Goodbye SHORTLIB 2005-01-04 22:10:29 +00:00
rsc
eb423b5cc0 use 9pclient instead of fs 2005-01-04 22:09:51 +00:00
rsc
3f54e7c8a4 good bye SHORTLIB 2005-01-04 22:09:40 +00:00
rsc
b0a81ab05d set SYSVERSION for 9c 2005-01-04 22:09:23 +00:00
rsc
1a0f021ef8 bugger fs in case it comes back 2005-01-04 22:09:09 +00:00
rsc
627bae9c76 clean up mkfile; fix winctlprint bug reported by peter canning 2005-01-04 21:39:23 +00:00
rsc
f755d50401 don't need to rename Fid 2005-01-04 21:29:20 +00:00
rsc
05636f8303 don't need to rename Fid anymore 2005-01-04 21:28:37 +00:00
rsc
93a6f8d76a back to threadnotify 2005-01-04 21:28:25 +00:00
rsc
452c09358f change to use new library. 2005-01-04 21:27:19 +00:00
rsc
30968c3fe9 typo flags => flag 2005-01-04 21:27:02 +00:00
rsc
100d566802 new prototype 2005-01-04 21:26:49 +00:00
rsc
f583e2b1d8 don't be dumb. 2005-01-04 21:26:30 +00:00
rsc
9e0b427274 small fixes; goodbye SHORTLIB 2005-01-04 21:26:13 +00:00
rsc
4bd8ec4c1c change comparison function to be consistent.
(now qsort on sunos should stop crashing.)
2005-01-04 21:25:48 +00:00
rsc
0daf9c0941 have lrand now 2005-01-04 21:25:26 +00:00
rsc
c39bd3556b allow - as input file 2005-01-04 21:25:17 +00:00
rsc
e2a1725dfc more debugging 2005-01-04 21:24:52 +00:00
rsc
020c80587a an old saddle 2005-01-04 21:24:19 +00:00
rsc
24c02865d8 placeholder; does not yet build 2005-01-04 21:23:50 +00:00
rsc
d1e9002f81 3D geometry 2005-01-04 21:23:01 +00:00
rsc
46f79934b7 lib9pclient is the new libfs 2005-01-04 21:22:40 +00:00
rsc
2600337aa7 remove libfs. now lib9pclient 2005-01-02 19:46:12 +00:00
rsc
acc021b8f8 add ? for unknown plumbs 2005-01-02 03:45:07 +00:00
rsc
4fe01a2b11 change _p9pow10 to fmtpow10 2004-12-31 05:37:15 +00:00
rsc
08166a4548 updates from andrey 2004-12-30 18:07:18 +00:00
wkj
8d8865f3d0 Rename lrand to p9lrand, too. 2004-12-29 02:44:01 +00:00
rsc
3015b83184 scroll virtual windows using mouse scroll 2004-12-29 02:42:20 +00:00
wkj
e25d5b710a Avoid conflicts with stdlib. 2004-12-29 01:30:19 +00:00
wkj
0debe1c681 Use FreeBSD-approved method for determining FreeBSD version. 2004-12-29 01:29:42 +00:00
wkj
742988d7d8 GC unused variables. 2004-12-29 01:29:14 +00:00
wkj
188fecbe15 Update mkmk.sh. 2004-12-29 01:28:48 +00:00
wkj
c90dd38f54 Formatting nits. 2004-12-29 01:27:57 +00:00
wkj
4645c5d7d3 #define pow10 to _p9pow10 as a stop-gap. 2004-12-29 01:27:23 +00:00
wkj
829e822386 Appease the time_t monster. 2004-12-29 01:25:41 +00:00
wkj
c2070b2fc9 Include netinet/in.h to get ntohs prototype. 2004-12-29 01:25:18 +00:00
wkj
374886540d Formatting nit. 2004-12-29 01:24:13 +00:00
rsc
e5d47e6e15 compiler appeasement 2004-12-28 23:27:16 +00:00
rsc
48907e89cb declare elfdl386mapdl 2004-12-28 23:27:05 +00:00
rsc
09dd30c9a0 small changes for build 2004-12-28 23:26:53 +00:00
rsc
3ddda82110 add virtual desktop patch from andrey 2004-12-28 23:21:40 +00:00
rsc
df49b30343 be like plan 9 plumber 2004-12-28 23:20:54 +00:00
rsc
ddd8916a0e vac is not buggered anymore 2004-12-28 23:15:55 +00:00
rsc
1f17800709 thread is not buggered anymore 2004-12-28 23:15:31 +00:00
rsc
228bb71d16 add crop 2004-12-28 23:13:17 +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
07bda1263e avoid use of an extra proc 2004-12-28 22:29:43 +00:00
rsc
70997336be remove debugging print 2004-12-28 22:13:33 +00:00
rsc
21e626deb3 remove race between openfdthread and connoutthread msgput,
so that openfd'ed fids always get clunked properly.
2004-12-28 22:11:34 +00:00
rsc
b37396bd11 make these files look like plan 9's 2004-12-28 20:01:58 +00:00
rsc
4dd07e012c check against plan 9 2004-12-28 19:25:16 +00:00
rsc
727facb605 add bvprint 2004-12-28 19:18:33 +00:00
rsc
8b45564f0f fix Bprint yet again 2004-12-28 19:18:19 +00:00
rsc
1369edef9f move linux ureg code to portable file 2004-12-28 17:35:10 +00:00
rsc
e2f52703c2 fix bug in bprint. fmtprint => fmtvprint 2004-12-28 17:34:59 +00:00
rsc
f7b74c1725 FreeBSD tweaks 2004-12-28 17:34:05 +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
f5ff4947dd add va_start/va_end. 2004-12-28 03:41:17 +00:00
rsc
65cd9e4d85 use fmtprint to avoid va_copy 2004-12-28 03:40:46 +00:00
rsc
ddb664da1b add threaddaemonize 2004-12-28 01:45:39 +00:00
rsc
22c7ebffda more little compile fixes 2004-12-28 01:45:05 +00:00
rsc
7ffc5208a8 use threaddaemonize 2004-12-28 01:37:18 +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
929fcfe0e3 add note that vac should work.
change %R to %r
2004-12-27 21:05:39 +00:00
rsc
6a130cb01b use getuser instead of getenv("USER").
add portdate file.
2004-12-27 19:40:50 +00:00
rsc
a812ae4b43 secstore from ehg 2004-12-27 19:36:51 +00:00
rsc
73bfbacb24 silence various warnings 2004-12-27 19:13:31 +00:00
rsc
b3efcdbf59 change to use new thread library 2004-12-27 19:13:15 +00:00
rsc
8cbd854a8a better exec handling 2004-12-27 19:11:33 +00:00
rsc
0341761074 add awaitfor and waitfor 2004-12-27 19:11:21 +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
e8a7b96999 more features 2004-12-27 17:01:23 +00:00
rsc
2189e55cde dumb porting bugs 2004-12-27 16:57:41 +00:00
rsc
9939daadf4 use new thread library 2004-12-27 16:56:16 +00:00
rsc
8cd0011323 figure out which files to put in the library 2004-12-27 16:53:01 +00:00
rsc
f1e8706de8 linux pre-2.6 implementation 2004-12-27 16:52:46 +00:00
rsc
4dbefdd41c start linux pre-2.6 port 2004-12-27 16:52:26 +00:00
rsc
fd46554030 good test programs 2004-12-27 05:21:41 +00:00
rsc
e8edc17986 lock using Lock instead of QLock.
qlocks are complicated enough that
they need to be able to print during
debugging.
2004-12-27 05:18:22 +00:00
rsc
73722a8bbf confine pthreads to pthread.c 2004-12-27 03:49:03 +00:00
rsc
10b4555766 as wkj pointed out, notifyseton should not call notesetenable 2004-12-27 03:22:54 +00:00
rsc
17cdbb909b fix to handle new 2004-12-27 01:22:48 +00:00
rsc
dcfa5aba0d remove debugging 2004-12-27 01:22:33 +00:00
rsc
6d7fdb243c changes from plan 9 2004-12-27 01:16:26 +00:00
rsc
334cb1e91c change to use new thread library 2004-12-27 00:38:59 +00:00
rsc
0a839b8314 clone is a bad word on linux 2004-12-27 00:38:16 +00:00
rsc
3694b738b8 handle pty correctly on linux 2004-12-27 00:38:00 +00:00
rsc
2b9172c7d4 add readn to avoid need for plan9port libc 2004-12-27 00:36:40 +00:00
rsc
93f2ae0d92 change to use new thread library 2004-12-27 00:32:50 +00:00