1 |
|
2003-01-23 Mikael Djurfeldt <djurfeldt@nada.kth.se> |
2 |
|
|
3 |
|
* futures.h, futures.c: New files; Introduced recycling of |
4 |
|
futures. For fine-grained threading this lifts performance to |
5 |
|
another level. We can now use parallelization in inner loops of |
6 |
|
Guile programs without impossible overhead. |
7 |
|
|
8 |
|
* threads.h, threads.c: Moved futures to their own file. |
9 |
|
|
10 |
|
* Makefile.am (libguile_la_SOURCES): Added futures.c. |
11 |
|
(DOT_X_FILES): Added futures.x. |
12 |
|
(DOT_DOC_FILES): Added futures.doc. |
13 |
|
(modinclude_HEADERS): Added futures.h. |
14 |
|
|
15 |
|
* threads.c, threads.h (scm_i_create_thread): Renamed from |
16 |
|
create_thread and made global. |
17 |
|
|
18 |
|
* futures.c (scm_make_future): New procedure. |
19 |
|
|
20 |
|
* eval.c: #include "libguile/futures.h". |
21 |
|
|
22 |
|
* init.c: #include "futures.h" |
23 |
|
(scm_init_guile_1): Call scm_init_futures. |
24 |
|
|
25 |
|
* stime.c (SCM_TIME_UNITS_PER_SECOND): Renamed from CLKTCK. |
26 |
|
|
27 |
|
* stime.h (SCM_TIME_UNITS_PER_SECOND): Definition moved here. |
28 |
|
|
29 |
|
* eval.c, eval.h (scm_trampoline_0, scm_i_call_closure_0): New |
30 |
|
functions. |
31 |
|
|
32 |
|
* eval.c (scm_trampoline_1): Fixed arguments test for closures. |
33 |
|
|
34 |
2003-01-22 Mikael Djurfeldt <djurfeldt@nada.kth.se> |
2003-01-22 Mikael Djurfeldt <djurfeldt@nada.kth.se> |
35 |
|
|
36 |
* threads.c (create_thread): Don't unwind dynwind chain of parent |
* threads.c (create_thread): Don't unwind dynwind chain of parent |