[Mesa-stable] [Mesa-dev] [PATCH 2/2] Make shader refcounting atomic.

Steinar H. Gunderson steinar+mesa at gunderson.no
Sun Nov 6 11:17:09 UTC 2016


On Sun, Nov 06, 2016 at 09:40:03AM +1100, Timothy Arceri wrote:
> https://lists.freedesktop.org/archives/mesa-dev/2016-October/132629.html

Interesting. So other code seemingly has done refcounting with non-atomics
but with locking; those locks were just missing here.

(I've skipped the finer points of RCU etc.)

/* Steinar */
-- 
Homepage: https://www.sesse.net/


More information about the mesa-stable mailing list