<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>We really need to move away from preemptive suspend.<BR><br>1) It is a large fraction of the target-dependent code in m3core.<BR> <BR><br>2) It doesn't really work in "wow64", the x86-on-amd64 Windows system.<BR>The SuspendThread + GetThreadContext does not actually reliably give you<br>current and coherent context.<BR>I'm not sure about x86-on-ia64.<BR> <BR><br> The context can be old.<br> The context can be mid-update. Which might be ok, depending on what the updates are.<br> LIke if Eip and Esp are being updated, we don't care about Eip anyway.<BR> <BR><br>You can find out if either is the case, and let the thread run longer,<br>but being in a long running syscall I believe is reported as possibly<br>invalid even though it is valid.<BR> <BR> <BR>NT/native is ok.<BR> <BR><br>We should just use cooperative suspend and not worry about it.<BR> <BR> <BR>Thanks,<br> - Jay<br><br><br> <BR> </div></body>
</html>