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, 6 Jul 2015 05:45:43 +0000 (22:45 -0700)
These frames can then be recognized in Debug_Stack_Trace output.

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

index 505264ab111361fe30a7461780bf61080d129fa8..dfec1da17519fa9b585b7804c5936aaf7469c74e 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