robustify (deadlock-detection interrupts) test
authorNikodemus Siivola <nikodemus@random-state.net>
Fri, 13 Apr 2012 11:00:21 +0000 (14:00 +0300)
committerNikodemus Siivola <nikodemus@random-state.net>
Fri, 13 Apr 2012 11:00:21 +0000 (14:00 +0300)
commit8d7b58dabde9733600ef9176d2b6c6aef5013aea
tree347a6294bc499260110e438ec05703066a534452
parent5a942de4c3645c0c63a262eb7b825a9843e96372
robustify (deadlock-detection interrupts) test

    1. Make sure the desired "tricky" ordering happens.
    2. Make sure threads can't exit before they're intrerupted.

  Next time I commit a test that relies on SLEEP without a comment explaining
  (1) why it is necessary and there isn't a better alternative (2) what the
  ordering the tests is trying to achieve actually ise... please hit me with a
  stick. Hard.
tests/threads.impure.lisp