mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 01:30:27 +02:00
Since support for "futures" in C has been completely disabled for some
time, and should be easily implementable in Scheme with the current thread support, delete the C code. * libguile/futures.c, libguile/futures.h: Delete. * libguile/Makefile.am (libguile_la_SOURCES, DOT_X_FILES, DOT_DOC_FILES, modinclude_HEADERS): Delete references to futures.* files. * libguile.h: Don't include futures.h. * libguile/eval.c: Don't include futures.h. (isymnames): Delete "#@future" entry. (scm_m_future, s_future, scm_sym_future, unmemoize_future, unmemoize_builtin_macro): Delete disabled futures code. * libguile/eval.i.c (CEVAL): Delete disabled futures code. * libguile/init.c: Don't include futures.h. (scm_i_init_guile): Delete disabled futures initialization call. * libguile/tags.h (SCM_IM_FUTURE): Delete. (SCM_IM_CALL_WITH_VALUES, SCM_IM_ELSE, SCM_IM_ARROW, SCM_IM_NIL_COND, SCM_IM_BIND): Renumber. * doc/ref/api-scheduling.texi: Delete commented-out node on Futures. * doc/maint/guile.texi: Delete make-future and future-ref mentions.
This commit is contained in:
parent
7ed7e4bb2f
commit
9515ef7237
10 changed files with 6 additions and 582 deletions
|
@ -734,13 +734,6 @@ dispatch:
|
|||
case (ISYMNUM (SCM_IM_DELAY)):
|
||||
RETURN (scm_make_promise (scm_closure (SCM_CDR (x), env)));
|
||||
|
||||
#if 0
|
||||
/* See futures.h for a comment why futures are not enabled.
|
||||
*/
|
||||
case (ISYMNUM (SCM_IM_FUTURE)):
|
||||
RETURN (scm_i_make_future (scm_closure (SCM_CDR (x), env)));
|
||||
#endif
|
||||
|
||||
/* PLACEHOLDER for case (ISYMNUM (SCM_IM_DISPATCH)): The following
|
||||
code (type_dispatch) is intended to be the tail of the case
|
||||
clause for the internal macro SCM_IM_DISPATCH. Please don't
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue