Commit 919605c8 authored by Raphael Junqueira's avatar Raphael Junqueira Committed by Alexandre Julliard

Added stub for SignalObjectAndWait.

parent 86b3056e
...@@ -1025,7 +1025,7 @@ ...@@ -1025,7 +1025,7 @@
@ stdcall SetThreadIdealProcessor(long long) @ stdcall SetThreadIdealProcessor(long long)
@ stdcall SetThreadPriorityBoost(long long) @ stdcall SetThreadPriorityBoost(long long)
@ stdcall SetWaitableTimer(long ptr long ptr ptr long) @ stdcall SetWaitableTimer(long ptr long ptr ptr long)
@ stub SignalObjectAndWait @ stdcall SignalObjectAndWait(long long long long)
@ stdcall SwitchToFiber(ptr) @ stdcall SwitchToFiber(ptr)
@ stdcall SwitchToThread() @ stdcall SwitchToThread()
@ stdcall TryEnterCriticalSection(ptr) ntdll.RtlTryEnterCriticalSection @ stdcall TryEnterCriticalSection(ptr) ntdll.RtlTryEnterCriticalSection
......
...@@ -262,6 +262,19 @@ BOOL WINAPI UnregisterWaitEx( HANDLE WaitHandle, HANDLE CompletionEvent ) ...@@ -262,6 +262,19 @@ BOOL WINAPI UnregisterWaitEx( HANDLE WaitHandle, HANDLE CompletionEvent )
} }
/*********************************************************************** /***********************************************************************
* SignalObjectAndWait (KERNEL32.@)
*
* Allows to atomically signal any of the synchro objects (semaphore,
* mutex, event) and wait on another.
*/
DWORD WINAPI SignalObjectAndWait( HANDLE hObjectToSignal, HANDLE hObjectToWaitOn, DWORD dwMilliseconds, BOOL bAlertable )
{
FIXME("(%p %p %ld %d): stub\n", hObjectToSignal, hObjectToWaitOn, dwMilliseconds, bAlertable);
return WAIT_OBJECT_0;
}
/***********************************************************************
* InitializeCriticalSection (KERNEL32.@) * InitializeCriticalSection (KERNEL32.@)
* *
* Initialise a critical section before use. * Initialise a critical section before use.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment