Change mechanism used to signal the no-current-thread error. Previous
authorChris Hanson <org/chris-hanson/cph>
Mon, 16 Feb 1998 23:00:35 +0000 (23:00 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 16 Feb 1998 23:00:35 +0000 (23:00 +0000)
commit45444ddc2ad0162fd9fd8c8ee5b9494141437729
tree202b7c0783139ff4d02d7b1b1ee8459c0654eb16
parent080e01288e6421e348c8e0e3a39e9cc7bebd058d
Change mechanism used to signal the no-current-thread error.  Previous
mechanism tried to directly signal the error, which results in
divergence.  New mechanism sends the error to the console thread, or
ignores the error if there is no console thread.

Modify blocking code to catch any errors that occur while blocked.
These errors are being signalled in the no-current-thread state, and
must be resignalled to the console thread (again, they are ignored if
there is no console thread).

Modify several thread operations to be no-ops in the no-current-thread
state, rather than signalling an error.

Implement new procedure CONSOLE-THREAD.
v7/src/runtime/runtime.pkg
v7/src/runtime/thread.scm
v8/src/runtime/runtime.pkg