[Mesa-dev] [PATCH] util/u_atomic: Add new macro p_atomic_add

Carl Worth cworth at cworth.org
Mon Feb 9 10:20:50 PST 2015

On Mon, Feb 09 2015, Jose Fonseca wrote:
> Just one more tweak to InterlockedExchangeAdd64 as per patch attached. 
> With that u_test_atomic builds and passes for me both on 32 and
> 64bits.

Excellent. Thanks for the fix and for the testing report.

> Sorry for the delay. And thanks for your help in keeping MSVC support on 
> par.

No problem with the delay. The timing is just right since I'm about to
send to the list an updated cache implementation that relies on this new
atomic_add, and that also includes some unit tests that I'm hoping
people can help test.

(But, fair warning, there's a bit of file-system manipulation code there
that I think will probably need some attention to work on non-Linux

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150209/250c9956/attachment.sig>

More information about the mesa-dev mailing list