MT support.

This commit is contained in:
Vitor Santos Costa 2012-06-29 15:37:11 -05:00
parent 19a3796978
commit 1a4c1a393b

View File

@ -471,7 +471,7 @@ sub_utime(FILETIME t1, FILETIME t2)
#endif #endif
UInt UInt
Yap_cputime ( USES_REGS1 ) Yap_cputime ( void )
{ {
HANDLE hProcess = GetCurrentProcess(); HANDLE hProcess = GetCurrentProcess();
FILETIME CreationTime, ExitTime, KernelTime, UserTime; FILETIME CreationTime, ExitTime, KernelTime, UserTime;
@ -1775,6 +1775,7 @@ ReceiveSignal (int s)
#if (_MSC_VER || defined(__MINGW32__)) #if (_MSC_VER || defined(__MINGW32__))
static BOOL WINAPI static BOOL WINAPI
MSCHandleSignal(DWORD dwCtrlType) { MSCHandleSignal(DWORD dwCtrlType) {
CACHE_REGS
if (LOCAL_InterruptsDisabled) { if (LOCAL_InterruptsDisabled) {
return FALSE; return FALSE;
} }