scsh-0.6/scsh
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
..
aix Fixed typo. 2002-02-12 15:31:36 +00:00
bsd Fixed typo. 2002-02-12 15:31:36 +00:00
cygwin32 Fixed typo. 2002-02-12 15:31:36 +00:00
generic Fixed typo. 2002-02-12 15:31:36 +00:00
hpux Fixed typo. 2002-02-12 15:31:36 +00:00
irix Fixed typo. 2002-02-12 15:31:36 +00:00
lib Sync with scsh tree 2001-06-06 11:06:05 +00:00
linux Fixed typo. 2002-02-12 15:31:36 +00:00
next Fixed typo. 2002-02-12 15:31:36 +00:00
odbc - new record type: sql-date (SQL_DATE_STRUCT) 2002-04-25 08:54:43 +00:00
rx Added { and } to the characters to be quoted within literal strings. 2002-05-02 11:46:44 +00:00
solaris Fixed typo. 2002-02-12 15:31:36 +00:00
sunos Fixed typo. 2002-02-12 15:31:36 +00:00
test Small renaming of a structure. 2002-04-21 16:26:09 +00:00
ultrix Fixed typo. 2002-02-12 15:31:36 +00:00
.gitignore added various .cvsignore files to suppress warnings about the removed files 2000-12-21 14:00:59 +00:00
awk.scm Added missing "See file COPYING" to copyright notice. 2001-03-11 18:03:50 +00:00
bdbmo.c 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
char-set.scm updates from 0.5.2 1999-09-23 17:46:46 +00:00
cstuff.c Fixed bug that skipped first entry in char_pp_2_string_list 2000-05-22 11:59:22 +00:00
cstuff.h Better type annotations. Moved char_pp_2_sting_list to cstuff.c. 2000-05-16 09:24:54 +00:00
db.c 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
db.scm 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
dbm.c changes to get the 0.5.2 stuff running. Not yet completed, hangs on startup 1999-09-23 23:02:54 +00:00
dbm.scm 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
dbm1.c 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
defrec.scm updates from 0.5.2 1999-09-23 17:46:46 +00:00
dirstuff1.c Cancel some unnecessary GC_PROTECTs. 2002-02-14 14:00:27 +00:00
dirstuff1.h Replaced most of define-foreign by 2001-08-08 09:21:20 +00:00
dot-locking.scm Made arguments to OBTAIN-DOT-LOCK optional and supply sensible 2002-01-07 13:11:26 +00:00
ekko.scm Added files from david fishers home (~dfisher/scsh-0.5.1). 1999-09-14 13:32:05 +00:00
endian.scm.in Added files from david fishers home (~dfisher/scsh-0.5.1). 1999-09-14 13:32:05 +00:00
enumconst.scm define-enum-constants-from-zero for enumerations wirhout explicit numbers. 2001-01-02 14:42:14 +00:00
event.scm * New package definitions now that we have SRFI-13 and 14 2001-03-23 12:45:31 +00:00
fdports.h 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
fdports.scm Added files from david fishers home (~dfisher/scsh-0.5.1). 1999-09-14 13:32:05 +00:00
fdports1.c Removed include of stdio_dep.h. 2001-09-07 15:58:05 +00:00
fdports1.h 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
fileinfo.scm Manual says FILE-NOT-READABLE? and brothers return 'NO-DIRECTORY 2001-03-15 03:54:48 +00:00
filemtch.scm Fix incomplete port to new regexp system. 2002-02-21 13:21:32 +00:00
filesys.scm Align cwd and umask. 2002-03-05 16:49:58 +00:00
flock.scm Use import-os-error-syscall to convert from os-error to syscall-error. 2001-09-12 14:08:24 +00:00
flock1.c GC_PROTECT'ed the necessary variables (specifically, where >1 arg to 2002-02-12 15:49:39 +00:00
flock1.h Removed remaining define-foreign. Flock code is cig-less now. 2001-08-08 12:52:37 +00:00
fname.scm updates from 0.5.2 1999-09-23 17:46:46 +00:00
fr.scm Rest of Olins merge for SRFI-13 and 14. 2001-03-23 10:52:09 +00:00
glob.scm Fixed a bug in the construction of the regexp for [...] backet globs. 2001-05-23 22:32:35 +00:00
here.scm Added files from david fishers home (~dfisher/scsh-0.5.1). 1999-09-14 13:32:05 +00:00
let-opt.scm New, improved let-opt. More features. 2001-03-11 04:11:11 +00:00
low-interrupt.scm Built the event system directly into the RTS. Built sighandlers above 2001-01-09 15:52:52 +00:00
meta-arg.scm Rest of Olins merge for SRFI-13 and 14. 2001-03-23 10:52:09 +00:00
ndbm.c 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
ndbm.scm 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
ndbm1.c Added files from david fishers home (~dfisher/scsh-0.5.1). 1999-09-14 13:32:05 +00:00
ndbmo.c 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
network.scm Plug space leak in BIND-LISTEN-ACCEPT-LOOK: Errno handlers for failed 2002-03-06 08:24:32 +00:00
network1.c Fixed return value of accept for AF_UNIX. 2002-04-28 18:26:44 +00:00
network1.h Removed remaining define-foreign. Network code is cig-less now. 2001-08-08 11:54:04 +00:00
newports.scm Add record discloser for FDPORT-DATA. 2002-02-26 14:40:59 +00:00
nextbs.c Added files from david fishers home (~dfisher/scsh-0.5.1). 1999-09-14 13:32:05 +00:00
nt2.c 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
proc2.c initial checkin from scsh sources 1999-10-10 15:50:18 +00:00
process_args.c Minor corrections. 2002-02-13 14:34:52 +00:00
procobj.scm Don't blindly remove a process object. 2002-02-14 13:32:19 +00:00
pty.scm Added files from david fishers home (~dfisher/scsh-0.5.1). 1999-09-14 13:32:05 +00:00
putenv.c Added files from david fishers home (~dfisher/scsh-0.5.1). 1999-09-14 13:32:05 +00:00
rdelim.c Snapshot of the cig generated files. 2001-01-01 17:55:36 +00:00
rdelim.scm Removed call to C code since it doesn't cooperate with non-blocking 2000-09-20 10:12:31 +00:00
re1.h 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
rw.scm + Decigged syscalls, sleep 2001-09-07 16:05:31 +00:00
scsh-condition.scm Use import-os-error-syscall to convert from os-error to syscall-error. 2001-09-12 14:08:24 +00:00
scsh-interfaces.scm Reinstate FILE-MATCH, accidentally left unported from 0.5.1. 2002-02-21 13:22:27 +00:00
scsh-package.scm Redo the forking-without-the-threads fix in a way not involving 2002-05-03 13:42:36 +00:00
scsh-read.scm Added files from david fishers home (~dfisher/scsh-0.5.1). 1999-09-14 13:32:05 +00:00
scsh-tramp.c Added files from david fishers home (~dfisher/scsh-0.5.1). 1999-09-14 13:32:05 +00:00
scsh-version.scm Bump the version number to 0.6.2. 2002-04-21 15:59:38 +00:00
scsh.scm Redo the forking-without-the-threads fix in a way not involving 2002-05-03 13:42:36 +00:00
scsh_aux.c Check if SIGINFO and SIGPWR are the same (HP-UX 10.2). 2002-01-09 12:59:13 +00:00
scsh_aux.h Replaced // comments. 2002-01-11 10:13:58 +00:00
select.c Snapshot of cig generated files. 2001-01-09 15:57:06 +00:00
select.scm changes to get the 0.5.2 stuff running. Not yet completed, hangs on startup 1999-09-23 23:02:54 +00:00
select1.c Replaced // comments. 2002-01-11 10:13:58 +00:00
select1.h 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
sighandlers.scm Redo the forking-without-the-threads fix in a way not involving 2002-05-03 13:42:36 +00:00
sighandlers1.c removed unused code, port to new FFI 2001-01-01 17:49:08 +00:00
sighandlers1.h removed unused code, port to new FFI 2001-01-01 17:49:08 +00:00
signals1.c made configure determine the mapping from os signals to scsh interrupts 2000-12-14 18:32:53 +00:00
signals1.h Added files from david fishers home (~dfisher/scsh-0.5.1). 1999-09-14 13:32:05 +00:00
sleep1.c + Decigged syscalls, sleep 2001-09-07 16:05:31 +00:00
startup.scm Redo the forking-without-the-threads fix in a way not involving 2002-05-03 13:42:36 +00:00
static.scm.in Added files from david fishers home (~dfisher/scsh-0.5.1). 1999-09-14 13:32:05 +00:00
stringcoll.scm 2 small fixes that where already in 0.5.2 1999-09-28 16:20:02 +00:00
syntax-helpers.scm Added files from david fishers home (~dfisher/scsh-0.5.1). 1999-09-14 13:32:05 +00:00
syntax.scm Opened threads-internal only for access and replaced runn by run again. 2000-06-28 10:30:59 +00:00
syscalls.scm Added forgotten calls to with-cwd-aligned. 2002-03-05 16:57:43 +00:00
syscalls1.c + Fixed bug in set-process-group 2002-02-11 17:32:20 +00:00
syscalls1.h + Decigged syscalls, sleep 2001-09-07 16:05:31 +00:00
syslog.scm New implementation of (no-inheritance) thread-local cells and thread 2001-12-03 15:21:46 +00:00
syslog1.c ... and here's the first post-0.6 bug fix: 2002-01-10 09:53:57 +00:00
threads.scm Use fork-thread in fork/thread. 2001-12-07 09:59:48 +00:00
time.scm Always signal an error if time returns -1. Not uses errno-error as 2002-02-26 10:53:32 +00:00
time1.c Always signal an error if time returns -1. Not uses errno-error as 2002-02-26 10:53:32 +00:00
time1.h Decigged time. 2001-09-07 12:36:30 +00:00
top.scm Bump the version number to 0.6.2. 2002-04-21 15:59:38 +00:00
tty.scm Default argument for tty-info as promised in the manual. 2002-03-22 10:23:34 +00:00
tty1.c Bug fix: 2 values were not converted to descriptors. 2002-03-22 10:22:59 +00:00
tty1.h Decigged tty. 2001-09-07 15:17:54 +00:00
userinfo1.c Changed return type of init function to void. 2001-01-01 17:21:35 +00:00
userinfo1.h removed the static return values in the uid and gid functions. This is all done without cig 1999-11-16 16:37:28 +00:00
utilities.scm + Fixed small race condition problem in wait. There are still problems 2001-11-08 08:14:37 +00:00
weaktables.scm Let weak-table-ref kill the entry if the value is #f. 2002-02-14 13:31:41 +00:00