Changeset 512
- Timestamp:
- Feb 9, 2004, 8:22:31 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/level-1/linux-files.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/level-1/linux-files.lisp
r475 r512 912 912 (append-dll-node request (shared-resource-requestors resource))) 913 913 (wait-on-semaphore (shared-resource-request-signal request)) 914 #+debug 915 (assert (eq current (shared-resource-current-owner request))) 914 (assert (eq current (shared-resource-current-owner resource))) 916 915 (when verbose 917 916 (format t "~%~%;;;~%;;; ~a is now owned by ~a~%;;;~%~%" … … 928 927 (secondary (shared-resource-current-owner r))) 929 928 (unless (setq not-any-owner 930 ( or (eq current secondary)931 (and (null secondary)932 (eq current primary))))933 (when secondary929 (not (or (eq current secondary) 930 (and (null secondary) 931 (eq current primary))))) 932 (when (eq current secondary) 934 933 (setf (shared-resource-current-owner r) nil) 935 934 (signal-semaphore (shared-resource-primary-owner-notify r)))))) … … 959 958 (when request 960 959 (remove-dll-node request) 960 (setf (shared-resource-current-owner r) 961 (shared-resource-request-process request)) 961 962 (signal-semaphore (shared-resource-request-signal request)))))) 962 963 (when request 963 964 (wait-on-semaphore (shared-resource-primary-owner-notify r)) 964 (format t "~ &;;;~%;;;control of ~a restored to ~a~%;;;~&"965 (format t "~%;;;~%;;;control of ~a restored to ~a~%;;;~&" 965 966 (shared-resource-name r) 966 967 *current-process*))))
Note:
See TracChangeset
for help on using the changeset viewer.
