diff options
author | Ken Raeburn <raeburn@raeburn.org> | 2009-10-29 17:22:17 -0400 |
---|---|---|
committer | Ken Raeburn <raeburn@raeburn.org> | 2009-10-30 18:40:41 -0400 |
commit | 9515ef7237bc9709736f625b364448f2a80f73d8 (patch) | |
tree | 0a4712e5564defed7f7556515cd9fb5daa2b468f /libguile/eval.i.c | |
parent | 7ed7e4bb2fe7ef97a72306746d4ea1282ab57ee7 (diff) | |
download | guile-9515ef7237bc9709736f625b364448f2a80f73d8.tar.gz |
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.
Diffstat (limited to 'libguile/eval.i.c')
-rw-r--r-- | libguile/eval.i.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libguile/eval.i.c b/libguile/eval.i.c index d9ec6cd5a..5b4604a7a 100644 --- a/libguile/eval.i.c +++ b/libguile/eval.i.c @@ -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 |