Fix GET-FOREGROUND hanging after termination of foreground thread
commit9d9077fbff90b5bd6a60fca014ad96b86d0929df
authorJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Sat, 15 Apr 2017 15:00:07 +0000 (15 17:00 +0200)
committerJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Mon, 22 May 2017 10:41:34 +0000 (22 12:41 +0200)
tree5147966f13a236f12d88857a3269ee8f88b1b144
parente631cc6a669acfb6101290bb3f45ead0ed2bb7a3
Fix GET-FOREGROUND hanging after termination of foreground thread

On termination, interactive (including foreground) threads remove
themselves from the list of interactive threads in their
session. However, this did not previously include broadcasting the
interactive threads waitqueue, resulting in GET-FOREGROUND hanging
after termination of the previous foreground thread.
src/code/target-thread.lisp
tests/session.impure.lisp