[Top][All Lists]

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

Re: cond-expand-provide threads?

From: Mark H Weaver
Subject: Re: cond-expand-provide threads?
Date: Sun, 03 Nov 2013 14:57:04 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)


Panicz Maciej Godek <address@hidden> writes:
> is there any way to check (most preferably at the cond-expand stage)
> whether thread support is enabled in guile?

  (provided? 'threads)

However, this is a run-time check, not a compile-time check.  It has to
be this way, because a scheme module could be compiled to a .go file,
and then this same module could be used by both threaded and unthreaded
versions of libguile.


reply via email to

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