diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-08-27 18:23:53 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-08-27 18:23:53 -0700 |
commit | e947da75bd926da6d533fd73b352c16c8417b3f6 (patch) | |
tree | f31b798b4849da26bf6c5eec921d5e8a7178f17f /html/factorial.mu.html | |
parent | 50bff0c5fb8dc13987fcb4e9bf16432da1544740 (diff) | |
download | mu-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/factorial.mu.html')
0 files changed, 0 insertions, 0 deletions