Changeset 4930


Ignore:
Timestamp:
Jul 29, 2006, 5:27:18 AM (18 years ago)
Author:
Gary Byers
Message:

Resources aren't thread-private, need locks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/library/lispequ.lisp

    r4924 r4930  
    6969  resource.destructor
    7070  resource.initializer
    71   resource.pool)
     71  resource.pool
     72  resource.lock)
    7273
    7374(defmacro gvector (type-keyword &rest initial-values)
     
    9091
    9192(defmacro %cons-resource (constructor &optional destructor initializer)
    92   `(%istruct 'resource ,constructor ,destructor ,initializer (%cons-pool)))
     93  `(%istruct 'resource ,constructor ,destructor ,initializer (%cons-pool) (make-lock)))
    9394
    9495
Note: See TracChangeset for help on using the changeset viewer.