chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Warning: "exit" called while processing on-exit tasks


From: Richard
Subject: [Chicken-users] Warning: "exit" called while processing on-exit tasks
Date: Tue, 28 Oct 2014 14:13:51 +0000

Hello everybody,

If I link multiple units into a shared object, load the shared object
and call (exit) I get the warning: "Warning: "exit" called while
processing on-exit task".
If I'm doing this in the interpreter, csi will not exit.

Here is a trivial example:

$ cat a.scm
(declare (unit a))
(define zooi 'a)

$ cat b.scm
(declare (uses a))
(print zooi)

$ csc -c a.scm b.scm ; csc -s a.o b.o -o c.so

$ csi
#;1> (load "c.so")
; loading c.so ...
#;2> (print zooi)
a
#;3> (exit)
Warning: "exit" called while processing on-exit tasks
#;4> 

thanks,
Richard



reply via email to

[Prev in Thread] Current Thread [Next in Thread]