[PATCH v3 0/9] MR272: d3dx10: Add D3DX10CreateThreadPump implementation.

Matteo Bruni (@Mystral) wine at gitlab.winehq.org
Tue Jun 21 03:02:00 CDT 2022


Matteo Bruni (@Mystral) commented about dlls/d3dx10_43/d3dx10_43_main.c:
> +            if (!InterlockedDecrement(&thread_pump->processing_count))
> +                RtlWakeAddressAll((void *)&thread_pump->processing_count);
> +        }
> +
> +        if (!(v = thread_pump->processing_count))
> +            break;
> +
> +        RtlWaitOnAddress((void *)&thread_pump->processing_count, &v, sizeof(v), NULL);
> +    }
> +
> +    AcquireSRWLockExclusive(&thread_pump->device_lock);
> +    list_move_tail(&list, &thread_pump->device_queue);
> +    thread_pump->device_count = 0;
> +    ReleaseSRWLockExclusive(&thread_pump->device_lock);
> +
> +    while(!list_empty(&list))
Nitpick, whitespace.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/272#note_2443



More information about the wine-devel mailing list