Changeset 5210


Ignore:
Timestamp:
Sep 18, 2006, 8:42:59 PM (18 years ago)
Author:
Gary Byers
Message:

Macros for locking the input/output locks of an ioblock, assuming that it exists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lib/macros.lisp

    r5175 r5210  
    31753175         ,@body))))
    31763176
     3177(defmacro with-ioblock-input-lock-grabbed ((ioblock) &body body)
     3178  `(with-lock-grabbed ((ioblock-inbuf-lock ,ioblock))
     3179    ,@body))
     3180
     3181(defmacro with-ioblock-output-lock-grabbed ((ioblock) &body body)
     3182  `(with-lock-grabbed ((ioblock-outbuf-lock ,ioblock))
     3183    ,@body))
     3184 
     3185
    31773186(defmacro with-stream-ioblock-input ((ioblock stream &key
    31783187                                             speedy)
Note: See TracChangeset for help on using the changeset viewer.