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

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


Matteo Bruni (@Mystral) commented about dlls/d3dx10_43/d3dx10_43_main.c:
>      LONG refcount;
> +
> +    SRWLOCK io_lock;
> +    UINT io_count;
> +    struct list io_queue;
> +
> +    SRWLOCK proc_lock;
> +    UINT proc_count;
> +    struct list proc_queue;
> +
> +    SRWLOCK device_lock;
> +    UINT device_count;
> +    struct list device_queue;
> +
> +    int threads_no;
> +    HANDLE threads[1];
I think we can make all these _count variables "unsigned int". Relatedly, threads_no -> thread_count.

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



More information about the wine-devel mailing list