[PATCH vkd3d 4/5] vkd3d: Handle NULL event handles in ID3D12Fence::SetEventOnCompletion().
Henri Verbeet
hverbeet at gmail.com
Thu Jan 13 10:18:42 CST 2022
On Mon, 10 Jan 2022 at 15:02, Conor McCarthy <cmccarthy at codeweavers.com> wrote:
> diff --git a/libs/vkd3d/vkd3d_private.h b/libs/vkd3d/vkd3d_private.h
> index 1bccb35d..e129681b 100644
> --- a/libs/vkd3d/vkd3d_private.h
> +++ b/libs/vkd3d/vkd3d_private.h
> @@ -361,11 +361,13 @@ struct d3d12_fence
>
> uint64_t value;
> pthread_mutex_t mutex;
> + pthread_cond_t null_event_cond;
>
> struct vkd3d_waiting_event
> {
> uint64_t value;
> HANDLE event;
> + bool volatile latch;
> } *events;
> size_t events_size;
> size_t event_count;
> --
Do we need the volatile above?
More information about the wine-devel
mailing list