1.0.5.12: fix threaded Linux builds
authorNikodemus Siivola <nikodemus@random-state.net>
Mon, 30 Apr 2007 10:35:32 +0000 (10:35 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Mon, 30 Apr 2007 10:35:32 +0000 (10:35 +0000)
 * Undo merge damage: missed one COMPARE-AND-EXCHANGE -> COMPARE-AND-SWAP rename.

src/code/target-thread.lisp
version.lisp-expr

index 56ead78..8185b81 100644 (file)
@@ -268,7 +268,7 @@ until it is available."
       (setf (mutex-value mutex) new-value))
     #!-sb-lutex
     (let (old)
-      (when (and (setf old (compare-and-exchange-mutex-value mutex nil new-value))
+      (when (and (setf old (compare-and-swap-mutex-value mutex nil new-value))
                  waitp)
         (loop while old
               do (multiple-value-bind (to-sec to-usec) (decode-timeout nil)
@@ -278,7 +278,7 @@ until it is available."
                                             (or to-sec -1)
                                             (or to-usec 0))))
                      (signal-deadline)))
-              (setf old (compare-and-exchange-mutex-value mutex nil new-value))))
+              (setf old (compare-and-swap-mutex-value mutex nil new-value))))
       (not old))))
 
 (defun release-mutex (mutex)
index 5a08693..6bdba7d 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.5.11"
+"1.0.5.12"