[Ecls-list] Latest changes in CVS/git

Alexander Gavrilov angavrilov at gmail.com
Mon Jun 15 11:25:52 UTC 2009


Hi,

ECL still declares IEEE floating-point support even if it is disabled:

diff --git a/src/c/main.d b/src/c/main.d
index 990e4a4..3678740 100644
--- a/src/c/main.d
+++ b/src/c/main.d
@@ -90,7 +90,9 @@ static char stdout_buf[BUFSIZ];

 static const char *feature_names[] = {
        "ECL", "COMMON", ECL_ARCHITECTURE, "FFI", "PREFIXED-API",
+#ifdef ECL_IEEE_FP
        "IEEE-FLOATING-POINT",
+#endif
 #ifdef WITH_GMP
        "COMMON-LISP",
        "ANSI-CL",


I have also noticed one more threading issue: if the main thread
decides to quit while some other threads are actively doing something,
they are likely to crash once ecl_library_close_all unmaps the files
that contain the code, and output a few internal error messages before
the process finally dies. I worked around it by installing a cleanup hook,
but something probably should be done in the ECL core as well.
Since this is already low-level shutdown, it probably may declare that
anyone needing intelligent cleanup should install a hook, and simply
terminate all threads with SIGKILL.

Alexander




More information about the ecl-devel mailing list