msvcr100: Add _NonReentrantPPLLock class implementation.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Piotr Caban 2018-02-02 16:36:22 +01:00 committed by Alexandre Julliard
parent f042c4ea4a
commit 8d105ac7c2
1 changed files with 7 additions and 3 deletions

View File

@ -549,7 +549,9 @@ typedef struct
DEFINE_THISCALL_WRAPPER(_NonReentrantPPLLock_ctor, 4)
_NonReentrantPPLLock* __thiscall _NonReentrantPPLLock_ctor(_NonReentrantPPLLock *this)
{
FIXME("(%p) stub\n", this);
TRACE("(%p)\n", this);
critical_section_ctor(&this->cs);
return this;
}
@ -558,7 +560,8 @@ _NonReentrantPPLLock* __thiscall _NonReentrantPPLLock_ctor(_NonReentrantPPLLock
DEFINE_THISCALL_WRAPPER(_NonReentrantPPLLock__Acquire, 8)
void __thiscall _NonReentrantPPLLock__Acquire(_NonReentrantPPLLock *this, cs_queue *q)
{
FIXME("(%p %p) stub\n", this, q);
TRACE("(%p %p)\n", this, q);
cs_lock(&this->cs, q);
}
/* ?_Release@_NonReentrantPPLLock@details@Concurrency@@QAEXXZ */
@ -566,7 +569,8 @@ void __thiscall _NonReentrantPPLLock__Acquire(_NonReentrantPPLLock *this, cs_que
DEFINE_THISCALL_WRAPPER(_NonReentrantPPLLock__Release, 4)
void __thiscall _NonReentrantPPLLock__Release(_NonReentrantPPLLock *this)
{
FIXME("(%p) stub\n", this);
TRACE("(%p)\n", this);
critical_section_unlock(&this->cs);
}
/* ?_GetConcurrency@details@Concurrency@@YAIXZ */