[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[guile-2.2] threads
From: |
Thomas Morley |
Subject: |
[guile-2.2] threads |
Date: |
Sun, 26 Mar 2017 14:40:00 +0200 |
Hi all,
guile-2.2 prints a warning, if module (ice-9 threads) is not imported.
(This does not happen with guile-1.8 or guile-2.0)
Import (ice-9 threads) to have access to `call-with-new-thread'.
Import (ice-9 threads) to have access to `current-thread'.
As suggested by Arne Babenhauserheide from the guile-mailing list, in
memory-trace.scm we could do something at the lines of
;; TODO if lilypond moves to guile-2.2 merge the next two settings
(use-modules (lily)
(ice-9 format))
(if guile-v2 (use-modules (ice-9 threads)))
This would even be compatible with guile-1.8 (ofcourse one would do it
with a little different coding)
Though, I think we currently have no need for it. So importing (ice-9
threads) would be pointless.
If I'm right in this, would there be any other way to avoid this
warning-messages?
Cheers,
Harm
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [guile-2.2] threads,
Thomas Morley <=