* threads.h, threads.c: Moved futures to their own file.
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Thu, 23 Jan 2003 16:04:37 +0000 (16:04 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Thu, 23 Jan 2003 16:04:37 +0000 (16:04 +0000)
commit756414cf2c781aee4207de3961d7c7e678931a70
tree0795ae06ee76105432dc1f3647eb2de4c902bdd1
parentf4719f31917110dcbbdb8d84bee8d6b59caaa693
* threads.h, threads.c: Moved futures to their own file.

* Makefile.am (libguile_la_SOURCES): Added futures.c.
(DOT_X_FILES): Added futures.x.
(DOT_DOC_FILES): Added futures.doc.
(modinclude_HEADERS): Added futures.h.

* threads.c, threads.h (scm_i_create_thread): Renamed from
create_thread and made global.

* eval.c: #include "libguile/futures.h".

* init.c: #include "futures.h"
(scm_init_guile_1): Call scm_init_futures.

* stime.c (SCM_TIME_UNITS_PER_SECOND): Renamed from CLKTCK.

* stime.h (SCM_TIME_UNITS_PER_SECOND): Definition moved here.

* eval.c, eval.h (scm_trampoline_0, scm_i_call_closure_0): New
functions.

* eval.c (scm_trampoline_1): Fixed arguments test for closures.
libguile/ChangeLog
libguile/Makefile.am
libguile/eval.c
libguile/eval.h
libguile/init.c
libguile/stime.c
libguile/stime.h
libguile/threads.c
libguile/threads.h