[Ecls-list] symbol-macro usage
Marko Kocić
marko.kocic at gmail.com
Wed Feb 10 18:59:12 UTC 2010
Yes
On 2/10/10, Tobias C. Rittweiler <tcr at freebits.de> wrote:
> Marko Kocić writes:
>
>> I'm trying to port hunchentoot to ecl, and I encountered this code in
>> file specials.lisp in latest hunchentoot that fails to compile with
>> ecl:
>>
>> (define-symbol-macro *supports-threads-p*
>> #+:lispworks t
>> #-:lispworks bt:*supports-threads-p*)
>>
>> (defvar *global-session-db-lock*
>> (load-time-value (and *supports-threads-p* (make-lock
>> "global-session-db-lock")))
>> "A global lock to prevent two threads from modifying *session-db* at
>> the same time \(or NIL for Lisps which don't have threads).")
>
> Are these two forms in the same file?
>
> -T.
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>
More information about the ecl-devel
mailing list