[Openmcl-devel] Thread interrupts not reliable on Windows?
mtstickney at gmail.com
Tue Nov 14 22:51:21 UTC 2017
Recently I've been trying to debug a multi-threaded application that
falls over under load. The application was originally done in SBCL,
but when ported to CCL, it would consistently bail out into a debugger
during a SetThreadContext() call.
At some point, I came across some of Anton Kovalenko's notes about
SBCL, which included a reference that says the
SuspendThread/SetThreadContext/ResumeThread approach to delivering
thread interrupts doesn't really work (for example, "volatile"
registers like eax aren't saved or restored).
I'm afraid I'm not very familiar with Windows internals, and I've only
just dipped into the CCL code. Is this something that people are aware
of and have worked around, or is this likely to be an issue in
More information about the Openmcl-devel