[PATCH xserver (v2)] X Sync Cleanups

Keith Packard keithp at keithp.com
Mon Dec 20 10:36:58 PST 2010


On Mon, 20 Dec 2010 10:27:57 -0800, James Jones <jajones at nvidia.com> wrote:

> +static Bool
> +SyncCheckWarnIsCounter(const SyncObject* pSync, const char *warning)
> +{
> +    if (pSync && (SYNC_COUNTER != pSync->type))
> +    {
> +	ErrorF("%s", warning);
> +	ErrorF("         Counter type: %d\n", pSync->type);
> +	return FALSE;
> +    }
> +
> +    return TRUE;
> +}

This doesn't throttle warning messages. If there is a bug in the server,
I'd imagine it'd get hit over and over again, meaning that your server
log file will get filled with these messages.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101220/9d4de50a/attachment-0001.pgp>


More information about the xorg-devel mailing list