Commit Graph

50 Commits

Author SHA1 Message Date
sperber 923ada9986 Added SELECT-PORT-CHANNELS. 2002-11-28 14:31:57 +00:00
sperber b01518b4d9 Rename WAIT-PORTS to SELECT-PORTS. 2002-11-28 14:15:34 +00:00
sperber a6ec3b5bb5 Add WAIT-PORTS. 2002-11-28 10:42:09 +00:00
mainzelm a45bcf41e9 Export connect-socket-no-wait and connect-socket-successful?. 2002-11-27 07:37:58 +00:00
mainzelm 8b451fe673 + Factor out exit hooks into a separate package.
+ Let exit call the exit hooks.
2002-09-25 11:40:07 +00:00
mainzelm e811e1d729 Direct interface to directory streams (stolen from S48). 2002-09-06 13:22:16 +00:00
mainzelm aa57bec9c2 Support for uname. 2002-09-06 12:23:18 +00:00
mainzelm ff0ce8fdfb + user-effective-uid and -gid per thread.
+ alignments for euid- and egid-resource
+ argument to chdir is now optional and defaults to (home-dir)
2002-09-06 09:57:32 +00:00
sperber efb2ad6bed Factor SCSH-ENDIAN out of SCSH-LEVEL-0. 2002-09-03 13:12:32 +00:00
sperber 416769997a Factored DELIMITED-READERS out of SCSH-LEVEL-0. 2002-09-03 12:41:45 +00:00
sperber 9772b62b54 Factored STRING-COLLECTORS out of SCSH-LEVEL-0. 2002-09-03 12:30:08 +00:00
sperber 33c14d7901 First stab at implementing SELECT/SELECT!:
- extend the VM interrupts to distinguish between read and write
  events
- add new ADD-PENDING-CHANNEL instruction to the VM
- add WAIT-FOR-CHANNELS procedure to the run-time system
- implement SELECT and SELECT! on top of that in newports.scm

This runs some basic tests, but in general should be considered
largely untested.

Moreover, SELECT/SELECT! never detect any exceptional conditions---the
returned vectors are always empty.  This is because the VM doesn't
really track those, and it's unclear whether it would be worth the
effort.
2002-08-20 14:03:01 +00:00
sperber 671f2c0181 Remove even more unneeded crud from utilities.scm. 2002-08-14 15:04:50 +00:00
sperber 09db2fed71 Remove a bunch of crud from utilities.scm as well as the dependencies
upon that crud.
2002-08-14 14:45:33 +00:00
mainzelm d30130ab03 Deadlock-free resource locking. 2002-08-13 06:49:22 +00:00
mainzelm 1aadf4e87f Added md5 support. 2002-06-27 12:14:23 +00:00
mainzelm d17a682498 Added scsh-version-string for internal use in top.scm. 2002-06-26 11:28:47 +00:00
mainzelm 4e5b87209d Added ignore-port-locks? flag to output-port-forcers and use it in
flush-all-ports-no-threads.
2002-06-26 11:25:33 +00:00
sperber be84d5ec47 Reinstate FILE-MATCH, accidentally left unported from 0.5.1.
Replace mention of SRFI 13 (not there yet) by STRING-LIB (gone soon).
2002-02-21 13:22:27 +00:00
mainzelm 36c5c82ec3 Added forgotten with-error-output-port stuff. 2002-02-14 13:30:53 +00:00
sperber cf3eb3d822 Add BREAK-DOT-LOCK to DOT-LOCKING-INTERFACE. 2002-01-07 13:11:55 +00:00
mainzelm 8f3c22b40d + New names for dot-locking procedures.
+ Optional retry interval and counter for obtain-dot-lock
+ Exported crypt
2001-12-17 09:24:05 +00:00
sperber 136e313af7 New implementation of (no-inheritance) thread-local cells and thread
fluids.

New implementation of syslog.

Both are to be compatible with what's actually probably going into
Scheme 48.
2001-12-03 15:21:46 +00:00
mainzelm abf7c53cc5 Added channel->port. 2001-11-27 11:08:30 +00:00
mainzelm fe6a9db1e5 Renamed scsh-events to sigevents. 2001-10-18 09:02:52 +00:00
mainzelm 83644a3093 + Export process-sleep{-until}
+ Export run-as-long-as
2001-10-03 14:42:46 +00:00
mainzelm 41b90aab2f Don't build with select for now. 2001-09-12 14:02:09 +00:00
mainzelm 75fa4c1852 With-umask-align for the rest of the syscalls. 2001-07-10 14:52:57 +00:00
mainzelm 04362fd7e3 + Switched cwd to thread-fluids
+ Added with-cwd-aligned* for exec
+ Moved reinitializer from syslog to scsh-utilities
2001-07-09 18:29:26 +00:00
mainzelm 4351c22d9f + Added a simple version of weak-tables. Only tail weak for now.
+ Replaced forgotten vector-ref in newports.scm
2001-07-07 19:29:29 +00:00
mainzelm dcc88cce36 Renamed fd->socket to port->socket and added better checking for being a socket. 2001-06-20 16:12:40 +00:00
mainzelm a4b45eda9f Added schedule-timer-interrupt! to scsh-events' exports. 2001-06-19 11:35:54 +00:00
sperber 98de22054e Syslog interface cleanup. 2001-06-11 13:06:25 +00:00
sperber e2a6e37c70 First stab at proper syslog interface. 2001-06-01 16:22:26 +00:00
mainzelm e3e3f2adab Removed conversion procedures for internet-host-address. 2001-04-09 07:56:58 +00:00
mainzelm 25f395c1d0 * New package definitions now that we have SRFI-13 and 14
* Introduced the nomenclature "sigevent"
2001-03-23 12:45:31 +00:00
mainzelm c1d6d368e5 Built the event system directly into the RTS. Built sighandlers above
it. Removed machinery in low-interrupt.
2001-01-09 15:52:52 +00:00
mainzelm fb6abe74fa Added syslog. 2001-01-02 14:43:27 +00:00
mainzelm 68947a09f9 Exported set-effective-gid. 2001-01-01 17:50:08 +00:00
mainzelm 3bcabf36b5 Added dot-locking. 2000-09-27 11:53:21 +00:00
mainzelm e3f2877ab9 added internet-address->dotted-string 2000-09-24 20:51:04 +00:00
marting 50664556eb Procedures to convert numbers and bytes to
internet-host-addresses. Added fd->port. Small bug-fixes.
2000-07-27 13:38:35 +00:00
marting b79df3d6c1 Opened threads-internal only for access and replaced runn by run again. 2000-06-28 10:30:59 +00:00
marting c2ccd7c924 interrupt/alarm is now generated by itimer in low-interupt. command-level set no longer a handler for interrupt/keyboard. sighandler now generates the event for Interrupt: keyboard 1999-11-15 00:23:11 +00:00
marting 0d871d4784 support for the latest changes: low-interrupt and co, cwd and env per thread 1999-11-04 20:48:47 +00:00
marting 1d4d7d0e0c snapshot, this version should work quite well 1999-10-08 18:41:05 +00:00
marting bca77db078 daily snapshot, mainly changes to get 0.5.2 stuff running 1999-09-24 23:54:22 +00:00
marting 0f0fe9f2ff updates from 0.5.2 1999-09-23 17:46:46 +00:00
marting 4e935c24a5 just a snapshot 1999-09-23 14:36:25 +00:00
marting 09136048ae Added files from david fishers home (~dfisher/scsh-0.5.1).
Be warned: the scsh-version he started from was neither 0.5.1 nor
0.5.2, but something in between !
1999-09-14 13:32:05 +00:00