Commit c595bef6 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcr100: Add ExternalContextBase::Unblock implementation.

parent b96e7d34
...@@ -915,7 +915,11 @@ unsigned int __thiscall ExternalContextBase_GetScheduleGroupId(const ExternalCon ...@@ -915,7 +915,11 @@ unsigned int __thiscall ExternalContextBase_GetScheduleGroupId(const ExternalCon
DEFINE_THISCALL_WRAPPER(ExternalContextBase_Unblock, 4) DEFINE_THISCALL_WRAPPER(ExternalContextBase_Unblock, 4)
void __thiscall ExternalContextBase_Unblock(ExternalContextBase *this) void __thiscall ExternalContextBase_Unblock(ExternalContextBase *this)
{ {
FIXME("(%p)->() stub\n", this); TRACE("(%p)->()\n", this);
/* TODO: throw context_unblock_unbalanced if this->blocked goes below -1 */
if (!InterlockedDecrement(&this->blocked))
RtlWakeAddressSingle(&this->blocked);
} }
DEFINE_THISCALL_WRAPPER(ExternalContextBase_IsSynchronouslyBlocked, 4) DEFINE_THISCALL_WRAPPER(ExternalContextBase_IsSynchronouslyBlocked, 4)
......
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