diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2014-11-22 00:12:44 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2014-11-22 00:12:44 -0800 |
commit | bd73a6ffe285acdf67b03f49759f26f808c510d8 (patch) | |
tree | f70fb4b788896a2fdf52ea4d401cc77fee0b4889 /mu.arc.t.html | |
parent | 51370addc91cae57e32de58ae71b63ef0bfd33d2 (diff) | |
download | mu-bd73a6ffe285acdf67b03f49759f26f808c510d8.tar.gz |
292 - back to state of commit 276
What have we learned? a) You can't detect deadlock between running a thread and waking up sleeping threads -- you may miss threads that are about to become available. b) Most of the context-switching code in 'run' shouldn't assume routine* is correctly set. That's just for 'run-for-time-slice' and for checking on blocked threads. I was implicitly requiring it when I shouldn't, and not setting it when checking blocked threads. Before I fix the next failing test I want to write unit tests for a) above.
Diffstat (limited to 'mu.arc.t.html')
0 files changed, 0 insertions, 0 deletions