Changeset 7865
- Timestamp:
- Dec 10, 2007, 4:53:43 AM (17 years ago)
- File:
-
- 1 edited
-
branches/working-0711/ccl/level-0/l0-hash.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/working-0711/ccl/level-0/l0-hash.lisp
r7722 r7865 701 701 (with-lock-context 702 702 (without-interrupts 703 (setq readonly (eq #+notyet (read-lock-hash-table hash) 704 #-notyet (if (nhash.read-only hash) 705 :readonly 706 (write-lock-hash-table hash)) 707 :readonly)) 703 (setq readonly (eq (read-lock-hash-table hash) :readonly)) 708 704 (let* ((vector (nhash.vector hash))) 709 705 (if (and (eq key (nhash.vector.cache-key vector)) … … 729 725 (return)) 730 726 ((%needs-rehashing-p hash) 727 (%lock-gc-lock) 731 728 (setq gc-locked t) 732 (%lock-gc-lock) 733 (%rehash hash)) 729 (unless readonly 730 (let* ((lock (nhash.exclusion-lock hash))) 731 (when lock (%promote-rwlock lock)))) 732 (when (%needs-rehashing-p hash) 733 (%rehash hash))) 734 734 (t (return))))))) 735 735 (when gc-locked (%unlock-gc-lock))
Note:
See TracChangeset
for help on using the changeset viewer.
