On 4 October 2012 17:39, Rob Bradford <[email protected]> wrote:
> From: Rob Bradford <[email protected]>
>
> The use of heap allocated GMutex/GCond is deprecated. Instead place them
> inside the structure they are locking.
>
> These changes switch to use g_mutex_init/g_cond_init rather than the heap
> allocation functions.
>
> Because we cannot test for a NULL pointer for the GMutex/GCond we must
> initialise inside the GObject _init function and clear inside the _finalize
> which is guaranteed to only be called once and after the object is no longer
> in use.

I wrote this patch to silence the warnings that were generated. Would
be good to see this tested and land (now that the release has been
made.)

Cheerio,

Rob
_______________________________________________
Libva mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to