Commit Graph

38 Commits

Author SHA1 Message Date
mainzelm aed248d24b First version of libscsh. 2002-05-16 14:50:46 +00:00
mainzelm dcebc64e8b Unify initialization of scsh-specific stuff. 2002-05-16 14:34:58 +00:00
mainzelm 0b35dbbe2f exec-path-list is a thread-fluid now. 2002-05-07 08:58:53 +00:00
sperber 1d35626709 Redo the forking-without-the-threads fix in a way not involving
command levels (as there *are* no command levels for things like scsh
-c):

There's now a new asynchronous event, similar to SPAWN, called NARROW.
It spawns off a new scheduler with just one thread (which runs the
thunk provided as an argument to NARROW) and blocks the current one
until the narrowed scheduler finishes.

For this to work, two schedulers need to be in place: the root
scheduler which performs the housekeeping, and another one inside that
which is the one the program uses---otherwise it's the root scheduler
that's blocked, and that means no housekeeping gets done.  This is
trivially the case for interactive mode, as the command-levels all
have their own schedulers, but we also need to make sure scsh's entry
point fires up its own initial scheduler.
2002-05-03 13:42:36 +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
sperber 29f7483d60 Basically reimplement to my idea of dot-locking.
(Sorry, Martin ...)
2001-12-27 17:29:17 +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
mainzelm 023caecf53 Added library directory path search command-line switches.
Unlike 0.5.3 I don't allow symbols in SCSH_LIB_DIRS (See bug #489901).
2001-12-07 11:24:30 +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 6e7ae9448f Initialize session and user-environment correctly. 2001-11-27 18:11:38 +00:00
mainzelm d7f602982e Use scheme-exit-now instead of exit. 2001-11-21 14:20:16 +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 b30eed8d54 + Replaced define-stubless-foreign by import-lambda-definition or
import-os-error-syscall
+ Removed loading of cig-aux and define-foreign
2001-09-13 07:59:40 +00:00
mainzelm 41b90aab2f Don't build with select for now. 2001-09-12 14:02:09 +00:00
mainzelm 327daeed32 Replaced most of define-foreign by
define-stubless-foreign/define-retrying-syscall in syscalls.scm.
2001-08-08 09:21:20 +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 f91b93f16a Sync with scsh tree 2001-06-06 11:06:05 +00:00
sperber e2a6e37c70 First stab at proper syslog interface. 2001-06-01 16:22:26 +00:00
mainzelm 3b53f2718d Added thread to the access list of scsh-level-0. 2001-04-09 19:34:48 +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
olin-shivers d708ef06e2 EXEC-PATH-LIST is now a fluid. 2001-03-11 18:58:54 +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 3bcabf36b5 Added dot-locking. 2000-09-27 11:53:21 +00:00
marting 82f8195911 Initialize event system etc. in scripts too. 2000-08-28 12:51:22 +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 b5771115b6 changes to get the 0.5.2 stuff running. Not yet completed, hangs on startup 1999-09-23 23:02:54 +00:00
marting 0f0fe9f2ff updates from 0.5.2 1999-09-23 17:46:46 +00:00
marting dd7939ab1a start scsh-toplevel by dump-scsh, scsh's init are not yet done 1999-09-23 00:43:13 +00:00
marting d2fc94c2da replaced all the macros and definitions that have changed in c/scheme48.h. Sometimes changes were necessary, if stuff is no longer a l-value. Some things are just commented out to be able to compile 1999-09-16 00:20:37 +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