mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
hal: Implement ExTryToAcquireFastMutex().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3d5b2a0d87
commit
ec5edb4fc0
1 changed files with 4 additions and 3 deletions
|
@ -81,10 +81,11 @@ void WINAPI DECLSPEC_HIDDEN __regs_ExReleaseFastMutex( FAST_MUTEX *mutex )
|
|||
}
|
||||
|
||||
DEFINE_FASTCALL1_ENTRYPOINT( ExTryToAcquireFastMutex )
|
||||
BOOLEAN WINAPI DECLSPEC_HIDDEN __regs_ExTryToAcquireFastMutex(PFAST_MUTEX FastMutex)
|
||||
BOOLEAN WINAPI DECLSPEC_HIDDEN __regs_ExTryToAcquireFastMutex( FAST_MUTEX *mutex )
|
||||
{
|
||||
FIXME("(%p) stub\n", FastMutex);
|
||||
return TRUE;
|
||||
TRACE("mutex %p.\n", mutex);
|
||||
|
||||
return (InterlockedCompareExchange( &mutex->Count, 0, 1 ) == 1);
|
||||
}
|
||||
|
||||
DEFINE_FASTCALL1_ENTRYPOINT( KfAcquireSpinLock )
|
||||
|
|
Loading…
Reference in a new issue