about summary refs log tree commit diff stats
path: root/mu.arc.t.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2014-11-22 00:12:44 -0800
committerKartik K. Agaram <vc@akkartik.com>2014-11-22 00:12:44 -0800
commitbd73a6ffe285acdf67b03f49759f26f808c510d8 (patch)
treef70fb4b788896a2fdf52ea4d401cc77fee0b4889 /mu.arc.t.html
parent51370addc91cae57e32de58ae71b63ef0bfd33d2 (diff)
downloadmu-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