Changeset 7866


Ignore:
Timestamp:
Dec 10, 2007, 12:54:48 PM (13 years ago)
Author:
gb
Message:

If we have to wait in %PROMOTE-RWLOCK, release the spinlock/futex first;
pass the LOCK argument to %WRITE-LOCK-RWLOCK-PTR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/working-0711/ccl/level-0/l0-misc.lisp

    r7851 r7866  
    11341134                      (setf (lock-acquisition.status flag) t))
    11351135                    t)
    1136                   (progn
     1136                  (progn                   
     1137                    #+futex
     1138                    (%unlock-futex ptr)
     1139                    #-futex
     1140                    (setf (%get-natural ptr target::rwlock.spin) 0)
    11371141                    (%unlock-rwlock-ptr ptr lock)
    11381142                    (let* ((*interrupt-level* level))
    1139                       (%write-lock-rwlock-ptr ptr flag)))))))))))
     1143                      (%write-lock-rwlock-ptr ptr lock flag)))))))))))
    11401144                     
    11411145
Note: See TracChangeset for help on using the changeset viewer.