Mark with-thread-events-blocked stack frames with the symbol.
authorMatt Birkholz <puck@birchwood-abbey.net>
Sat, 6 Jun 2015 00:51:33 +0000 (17:51 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Mon, 17 Aug 2015 23:52:57 +0000 (16:52 -0700)
These frames can then be recognized in Debug_Stack_Trace output.

src/runtime/conpar.scm
src/runtime/thread.scm

index ed600080c3c28c62f149bde6be73b5805641e5dc..8dc3c0717f18b4c4ab74b1f67c0f927c3375216b 100644 (file)
@@ -448,7 +448,7 @@ USA.
               (continue (parser-state/dynamic-state state)
                         (parser-state/block-thread-events? state)
                         marker-instance))
-             ((eq? marker-type with-thread-events-blocked)
+             ((eq? marker-type 'WITH-THREAD-EVENTS-BLOCKED)
               (continue (parser-state/dynamic-state state)
                         marker-instance
                         (parser-state/interrupt-mask state)))
index f831f3ca02cae21a7229fa5be7869db57db67130..862c1cf68e52c331cf1e2c4f34e2792a5dd3ef05 100644 (file)
@@ -785,7 +785,7 @@ USA.
                      (let ((value (thunk)))
                        (set-interrupt-enables! interrupt-mask/gc-ok)
                        value))
-                   with-thread-events-blocked
+                   'WITH-THREAD-EVENTS-BLOCKED
                    block-events?)))
              (let ((thread first-running-thread))
                (if thread