Changeset 7854


Ignore:
Timestamp:
Dec 9, 2007, 1:40:51 PM (13 years ago)
Author:
gb
Message:

Conditionalize lock accounting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/working-0711/ccl/lib/macros.lisp

    r7742 r7854  
    23372337;;; Bind per-thread specials which help with lock accounting.
    23382338(defmacro with-lock-context (&body body)
     2339  #+lock-accounting
    23392340  `(let* ((*locks-held* *locks-held*)
    23402341          (*locks-pending* *locks-pending*)
    23412342          (*lock-conses* *lock-conses*))
    2342     ,@body))
     2343    ,@body)
     2344  #-lock-accounting
     2345  `(progn ,@body))
    23432346
    23442347(defmacro with-lock-grabbed ((lock &optional
Note: See TracChangeset for help on using the changeset viewer.