1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-04 14:20:26 +02:00
guile/libguile
Mikael Djurfeldt c69dfa6575 * coop.c, iselect.c: Since thread switches are now performed with
interrupts masked, we can't use the old mechanism of delivering
signals immediately when they arrive.  Signals must instead be
delivered when the asyncs run *after* the end of the critical
section in scm_internal_select.  But this also means after context
switch so that the signal will be delivered to a different thread.
To avoid this, I have changed the protocol of
coop_wait_for_runnable_thread and friends so that they are allowed
to return the original thread.  So, if a signal arrives during
scm_internal_select, we won't any longer be forced do a context
switch, but can remain in the same thread and deliver the signal
to it.

* iselect.c: Small fixes.
1998-01-30 21:08:26 +00:00
..
.cvsignore *** empty log message *** 1997-06-28 09:03:21 +00:00
__scm.h * __scm.h (SCM_ASYNC_TICK): Removed thread switching code. 1998-01-30 21:06:16 +00:00
_scm.h * scmsigs.h, async.h: updated. 1997-05-31 19:02:38 +00:00
alist.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
alist.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
alloca.c * alloca.c: #include <scmconfig.h>, not <config.h>. 1997-04-19 13:25:09 +00:00
appinit.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
arbiters.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
arbiters.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
async.c * async.c, async.h (asyncs_pending): Renamed asyncs_pending --> 1998-01-30 21:06:31 +00:00
async.h * async.c, async.h (asyncs_pending): Renamed asyncs_pending --> 1998-01-30 21:06:31 +00:00
backtrace.c * init.c (scm_start_stack): Removed initialization of 1997-11-29 10:49:18 +00:00
backtrace.h * init.c (scm_start_stack): Removed initialization of 1997-11-29 10:49:18 +00:00
boolean.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
boolean.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
ChangeLog * coop.c, iselect.c: Since thread switches are now performed with 1998-01-30 21:08:26 +00:00
ChangeLog-gh Add note saying where this came from, and suggesting that new log 1997-04-15 01:26:20 +00:00
ChangeLog-scm Renamed to ChangeLog-scm from ChangeLog.scm, so it won't interfere with 1996-11-21 16:03:02 +00:00
ChangeLog-threads Merge threads directory into libguile. 1997-04-15 01:34:36 +00:00
chars.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
chars.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
continuations.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
continuations.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
coop-defs.h * coop.c (coop_mutex_init, coop_mutex_lock, coop_mutex_unlock, 1998-01-26 01:43:16 +00:00
coop-threads.c * coop-threads.c (scheme_launch_data, scheme_body_bootstrip, 1998-01-30 21:06:47 +00:00
coop-threads.c.cygnus * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
coop-threads.h * coop.c (coop_mutex_init, coop_mutex_lock, coop_mutex_unlock, 1998-01-26 01:43:16 +00:00
coop-threads.h.cygnus * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
coop.c * coop.c, iselect.c: Since thread switches are now performed with 1998-01-30 21:07:00 +00:00
COPYING * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
cpp_cnvt.awk * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
cpp_err_symbols.in * cpp_err_symbols.in: Renamed from cpp_err_symbols, to avoid 1997-04-05 23:35:03 +00:00
cpp_errno.c * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
cpp_sig_symbols.in * cpp_err_symbols.in: Renamed from cpp_err_symbols, to avoid 1997-04-05 23:35:03 +00:00
cpp_signal.c * ioext.c (scm_setfileno): throw a runtime error if SET_FILE_FD_FIELD 1997-03-29 18:42:43 +00:00
debug.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
debug.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
DYNAMIC-LINKING Mention guile-ffi in my http dir 1997-05-01 10:41:16 +00:00
dynl-dl.c * iselect.c: #ifdef USE_THREADS around thread-related includes. 1997-11-28 22:58:10 +00:00
dynl-dld.c * dynl.c (scm_dynamic_call, scm_dynamic_args_call): Wrap dynamic 1997-06-16 19:09:11 +00:00
dynl-shl.c * dynl.c (scm_dynamic_call, scm_dynamic_args_call): Wrap dynamic 1997-06-16 19:09:11 +00:00
dynl-vms.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
dynl.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
dynl.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
dynwind.c * dynwind.c (scm_wind_chain): New debug function. 1998-01-30 21:07:14 +00:00
dynwind.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
eq.c * eval.c (scm_eval, scm_deval), eq.c (scm_equal_p): Use SCM_TICK 1998-01-30 21:07:51 +00:00
eq.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
error.c * error.c (scm_wta): Added support for SCM_ARG6 and SCM_ARG7. 1998-01-25 12:00:47 +00:00
error.h * error.c, error.h (scm_error_callback): Removed (see NEWS). 1997-08-25 12:33:50 +00:00
eval.c * eval.c (scm_eval, scm_deval), eq.c (scm_equal_p): Use SCM_TICK 1998-01-30 21:07:51 +00:00
eval.h * * eval.c (macro?, macro-type, macro-name, macro-transfomer): New 1997-09-10 20:05:28 +00:00
feature.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
feature.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
filesys.c * filesys.c (set_element): Return file descriptor. 1997-12-08 18:15:44 +00:00
filesys.h * stime.h: prototype for scm_times. 1997-08-16 18:48:44 +00:00
fluids.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
fluids.h * dynwind.c (scm_dowinds): Handle fluids on the wind list. 1997-07-26 20:08:42 +00:00
fports.c * fports.c (scm_pipob): Use scm_generic_fgets for line i/o, since 1997-12-20 13:52:09 +00:00
fports.h * ioext.h: fix up prototypes. 1997-07-29 02:21:08 +00:00
fsu-pthreads.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
gc.c Doc fix. 1998-01-04 00:09:54 +00:00
gc.h * gc.c (scm_done_malloc): New function. 1997-10-02 14:42:58 +00:00
gdb_interface.h * gdb_interface.h (GDB_INTERFACE): Remove semicolon and trailing 1997-06-22 20:49:31 +00:00
gdbint.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
gdbint.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
genio.c Small fix to scm_getc: Move FD_ZERO into the select loop 1998-01-30 21:02:36 +00:00
genio.h boot-9.scm (read-line): Rewritten to use %read-line. 1997-12-13 08:33:33 +00:00
gh.h * gh.h, gh_data.c (gh_doubles2scm, gh_doubles2dvect, 1998-01-20 17:57:01 +00:00
gh_data.c * gh.h, gh_data.c (gh_doubles2scm, gh_doubles2dvect, 1998-01-20 17:57:01 +00:00
gh_eval.c some trivial cleanup 1998-01-16 00:32:28 +00:00
gh_funcs.c some trivial cleanup 1998-01-16 00:32:28 +00:00
gh_init.c completing changes to gh_repl and uniform array stuff 1997-11-25 17:20:23 +00:00
gh_io.c * * gh_io.c (gh_write): New function. 1997-08-13 14:55:34 +00:00
gh_list.c implemented several missing gh_ functions, mostly related to lists and pairs 1997-10-20 03:59:37 +00:00
gh_predicates.c implemented several missing gh_ functions, mostly related to lists and pairs 1997-10-20 03:59:37 +00:00
gh_test_c.c completing changes to gh_repl and uniform array stuff 1997-11-25 17:20:23 +00:00
gh_test_repl.c completing changes to gh_repl and uniform array stuff 1997-11-25 17:20:23 +00:00
gscm.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
gscm.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
gsubr.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
gsubr.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
guile-snarf.in * guile-snarf.in: Pass args through to gcc in a way that preserves 1997-12-03 17:30:39 +00:00
guile.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
hash.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
hash.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
hashtab.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
hashtab.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
inet_aton.c Fixed erroneous use of #ifdef 1996-12-09 20:21:47 +00:00
init.c * init.c (scm_start_stack): Removed initialization of 1997-11-29 10:49:18 +00:00
init.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
ioext.c boot-9.scm (read-line): Rewritten to use %read-line. 1997-12-13 08:33:33 +00:00
ioext.h * stime.h: prototype for scm_times. 1997-08-16 18:48:44 +00:00
iselect.c * coop.c, iselect.c: Since thread switches are now performed with 1998-01-30 21:08:26 +00:00
iselect.h * coop.c, iselect.c: Since thread switches are now performed with 1998-01-30 21:08:26 +00:00
kw.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
kw.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
libguile.h * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
list.c * list.h (SCM_LISTn): New macros. Make list creation in C code 1997-09-15 21:20:48 +00:00
list.h * list.h (SCM_LISTn): New macros. Make list creation in C code 1997-09-15 21:20:48 +00:00
load.c * load.c (scm_init_load_path): Check GUILE_LOAD_PATH environment 1997-10-25 06:53:11 +00:00
load.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
Makefile.am * Makefile.am: Added iselect.c and iselect.h. 1997-11-27 18:04:56 +00:00
Makefile.in * README: using Automake 1.2d 1997-12-07 07:02:17 +00:00
mallocs.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
mallocs.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
markers.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
markers.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
mit-pthreads.c * stacks.c (scm_make_stack), coop-threads.c, mit-pthreads.c 1997-08-14 15:00:03 +00:00
mit-pthreads.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
net_db.c Changes to compile under gnu-win32, from Marcus Daniels: 1997-07-11 05:43:36 +00:00
net_db.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
numbers.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
numbers.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
objects.c * eval.c (SCM_CEVAL, scm_apply): Completed GOOPS support code; 1997-10-12 12:54:54 +00:00
objects.h * eval.c (SCM_CEVAL, scm_apply): Completed GOOPS support code; 1997-10-12 12:54:54 +00:00
objprop.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
objprop.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
options.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
options.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
pairs.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
pairs.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
ports.c boot-9.scm (read-line): Rewritten to use %read-line. 1997-12-13 08:33:33 +00:00
ports.h boot-9.scm (read-line): Rewritten to use %read-line. 1997-12-13 08:33:33 +00:00
posix.c * filesys.c (scm_close, set_element, get_element, scm_chown, 1997-10-25 21:54:12 +00:00
posix.h * stime.h: prototype for scm_times. 1997-08-16 18:48:44 +00:00
print.c * print.h (SCM_COERCE_OPORT): Renamed to SCM_COERCE_OUTPORT. An 1997-10-25 21:54:46 +00:00
print.h * print.h (SCM_COERCE_OUTPORT): Check that the object is a pair 1997-12-04 16:18:59 +00:00
procprop.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
procprop.h * procprop.h: Added declaration of scm_i_inner_name. 1997-09-11 00:09:57 +00:00
procs.c * procprop.h: Added declaration of scm_i_inner_name. 1997-09-11 00:09:57 +00:00
procs.h * procs.h (scm_closure_p): Added declaration. 1997-09-10 20:03:55 +00:00
putenv.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
ramap.c Fixed problem in scm_array_index_map_x: looped endlessly with zero-rank 1997-09-29 03:29:27 +00:00
ramap.h * ramap.c (scm_array_map): Renamed to scm_array_map_x. Removed 1997-09-24 21:29:02 +00:00
read.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
read.h formatting tweak 1997-05-27 23:48:24 +00:00
readline.c Add copyrights; tweak comments. 1997-12-03 17:29:12 +00:00
readline.h Add copyrights; tweak comments. 1997-12-03 17:29:12 +00:00
regex-posix.c Small fix of last fix... 1997-11-06 17:50:19 +00:00
regex-posix.h * regex-posix.c (scm_make_regexp, scm_regexp_exec): Add optional 1997-06-24 05:30:28 +00:00
root.c * init.c (scm_start_stack): Removed initialization of 1997-11-29 10:49:18 +00:00
root.h * init.c (scm_start_stack): Removed initialization of 1997-11-29 10:49:18 +00:00
scmconfig.h.in * README: using Automake 1.2d 1997-12-07 07:02:17 +00:00
scmsigs.c Changes to compile under gnu-win32, from Marcus Daniels: 1997-07-11 05:43:36 +00:00
scmsigs.h * scmsigs.h, async.h: updated. 1997-05-31 19:02:38 +00:00
script.c * load.c (scm_init_load_path): Check GUILE_LOAD_PATH environment 1997-10-25 06:53:11 +00:00
script.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
simpos.c * README: using Automake 1.2d 1997-12-07 07:02:17 +00:00
simpos.h * simpos.h: prototype for scm_primitive_exit. 1997-06-28 20:01:20 +00:00
smob.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
smob.h * smob.h: Include "libguile/print.h" to make scm_print_state 1997-07-18 14:39:52 +00:00
snarf.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
socket.c * socket.c (scm_bind): free soka after use. 1998-01-04 02:50:12 +00:00
socket.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
srcprop.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
srcprop.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
stackchk.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
stackchk.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
stacks.c * stacks.c (scm_frame_procedure): Reverse the logic in the return 1997-12-02 17:34:07 +00:00
stacks.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
stamp-h.in Changes to use automake-generated Makefile.ins everywhere 1996-12-03 05:34:34 +00:00
stime.c * socket.c (scm_bind): free soka after use. 1998-01-04 02:50:12 +00:00
stime.h * stime.h: prototype for scm_times. 1997-08-16 18:48:44 +00:00
strerror.c Doc fix. 1996-09-11 22:55:24 +00:00
strings.c Minor problems with substring-related tag changes. 1997-10-25 06:53:47 +00:00
strings.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
strop.c *** empty log message *** 1997-11-20 04:40:02 +00:00
strop.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
strorder.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
strorder.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
strports.c * strports.c (scm_eval_string): Don't close the port. 1997-09-28 04:08:02 +00:00
strports.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
struct.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
struct.h 1997-10-03 Mikael Djurfeldt <mdj@nada.kth.se> 1997-10-03 00:44:28 +00:00
symbols.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
symbols.h Minor problems with substring-related tag changes. 1997-10-25 06:53:47 +00:00
tag.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
tag.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
tags.h * gc.c, tags.h: Doc fixes. 1998-01-04 00:31:13 +00:00
threads.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
threads.h * coop-threads.c, threads.h (scm_spawn_thread): New function. 1998-01-23 20:51:47 +00:00
throw.c * init.c (scm_start_stack): Removed initialization of 1997-11-29 10:49:18 +00:00
throw.h * throw.h (scm_handle_by_proc_catching_all): New prototype 1997-10-02 15:05:57 +00:00
unif.c * filesys.c (scm_close, set_element, get_element, scm_chown, 1997-10-25 21:54:12 +00:00
unif.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
variable.c * Makefile.in: Rebuilt. 1997-10-15 17:18:32 +00:00
variable.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
vectors.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
vectors.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
version.c Try to detect when people are using one version of libguile and a 1997-06-22 23:42:40 +00:00
version.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
vports.c * init.c (scm_boot_guile_1): Added scm_init_objects (). 1997-09-22 00:43:52 +00:00
vports.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
weaks.c * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00
weaks.h * Lots of files: New address for FSF. 1997-05-26 22:34:48 +00:00