about summary refs log tree commit diff stats
path: root/html/017parse_tree.cc.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-27 18:23:53 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-27 18:23:53 -0700
commite947da75bd926da6d533fd73b352c16c8417b3f6 (patch)
treef31b798b4849da26bf6c5eec921d5e8a7178f17f /html/017parse_tree.cc.html
parent50bff0c5fb8dc13987fcb4e9bf16432da1544740 (diff)
downloadmu-e947da75bd926da6d533fd73b352c16c8417b3f6.tar.gz
3265
Ah, the reason commit 3258 broke chessboard.mu was that I forgot to
migrate the implementation of 'switch' to 'wait-for-routine-to-block'.
That caused these cascading effects when running chessboard.mu:

a) 'read-event' from real keyboard calls 'switch'

b) 'switch' waits for some other currently running routine to *complete*
rather than just block

c) deadlock unsurprisingly ensues

This was hard to debug because I kept searching for occurrences of
'wait-for-routine' that I'd missed, and didn't realize that 'switch' too
was a form of 'wait-for-routine'. No more; now it's a form of
'wait-for-routine-to-block', possibly the *only* reason to ever call
that instruction outside of tests.
Diffstat (limited to 'html/017parse_tree.cc.html')
0 files changed, 0 insertions, 0 deletions