On Thu, Oct 31, 2013 at 03:43:41PM -0700, Keith Packard wrote:
> +static void
> +miSyncShmFenceSetTriggered(SyncFence * pFence)
> +{
> + SyncShmFencePrivatePtr pPriv = SYNC_FENCE_PRIV(pFence);
> +
> + if (pPriv->fence)
> + xshmfence_trigger(pPriv->fence);
> + miSyncFenceSetTriggered(pFence);
This is racy as the clients are woken up before the server has had a
chance to do the required work.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel