[Mesa-dev] [PATCH] Fix locking of GLsync objects

Steinar H. Gunderson sgunderson at bigfoot.com
Mon Feb 1 16:20:39 PST 2016


On Mon, Feb 01, 2016 at 04:00:09PM +0100, Marek Olšák wrote:
> "sync" is undeclared here. It builds, because "sync" is also a
> function from unistd.h. This is wrong.

Attaching new version, fixing this wrong use of “sync” (both places in the
file).

As for code after declaration, I looked for it and could find nothing;
maybe Mesa understands this differently from what I expect. There is one
case where I have an declaration with initialization that runs code,
but that initialization was already there (just as a cast instead).

/* Steinar */
-- 
Homepage: https://www.sesse.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-locking-of-GLsync-objects.patch
Type: text/x-diff
Size: 11265 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20160202/fa119097/attachment.patch>


More information about the mesa-dev mailing list