master: Fix strange comment
snuglas via Sbcl-commits <[email protected]>
| Newsgroups | gmane.lisp.steel-bank.cvs |
|---|---|
| Message-ID | <[email protected]> |
The branch "master" has been updated in SBCL:
via 71cca79006f093ffafcc045a34c08b88deff7529 (commit)
from b0cdf28901ba559ead6699549ef21f4ac57a4dbb (commit)
- Log -----------------------------------------------------------------
commit 71cca79006f093ffafcc045a34c08b88deff7529
Author: Douglas Katzman <[email protected]>
Date: Sun Apr 26 01:18:17 2026 -0400
Fix strange comment
which made sense only if you knew it so well as to not need the comment.
---
src/code/target-thread.lisp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/code/target-thread.lisp b/src/code/target-thread.lisp
index 1f4db430a..7c8856fd3 100644
--- a/src/code/target-thread.lisp
+++ b/src/code/target-thread.lisp
@@ -493,8 +493,8 @@ See also: RETURN-FROM-THREAD and SB-EXT:EXIT."
(locally (declare (sb-ext:muffle-conditions sb-ext:compiler-note))
(define-structure-slot-addressor mutex-state-address
;; """ (Futexes are 32 bits in size on all platforms, including 64-bit systems.) """
- ;; which means we need to add 4 bytes to get to the low 32 bits of the slot contents
- ;; where we store state. This would be prettier if we had 32-bit raw slots.
+ ;; which means 64-bit big-endian needs to add 4 bytes to get to the low half
+ ;; of the slot, since we lack 32-bit raw slots.
:structure mutex
:slot state
:byte-offset (+ #+(and 64-bit big-endian) 4))
-----------------------------------------------------------------------
hooks/post-receive
--
SBCL