void qemu_mutex_lock(QemuMutex *mutex)

{

    EnterCriticalSection(&mutex->lock);



    /* Win32 CRITICAL_SECTIONs are recursive.  Assert that we're not

     * using them as such.

     */

    assert(mutex->owner == 0);

    mutex->owner = GetCurrentThreadId();

}

void qemu_mutex_lock(QemuMutex *mutex)

{

    EnterCriticalSection(&mutex->lock);



    





    assert(mutex->owner == 0);

    mutex->owner = GetCurrentThreadId();

}

    assert(mutex->owner == 0);     EnterCriticalSection(&mutex->lock);     assert(mutex->owner == 0);     mutex->owner = GetCurrentThreadId();
void FUNC_0(QemuMutex *VAR_0)

{

    EnterCriticalSection(&VAR_0->lock);



    





    assert(VAR_0->owner == 0);

    VAR_0->owner = GetCurrentThreadId();

}

void FUNC_0(QemuMutex *VAR_0)
{ EnterCriticalSection(&VAR_0->lock); assert(VAR_0->owner == 0); VAR_0->owner = GetCurrentThreadId(); }