MT support.
This commit is contained in:
parent
19a3796978
commit
1a4c1a393b
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user