mesa: Lock mutex around _mesa_HashLookup linked list chase.
authorBrian Paul <brianp@vmware.com>
Tue, 16 Feb 2010 15:21:38 +0000 (08:21 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 16 Feb 2010 15:21:38 +0000 (08:21 -0700)
commit107a2ec9eef53dee038c1bcc0d956c5667e0b68f
tree46b293cc595c15d73792ebf887d02e78f73767c4
parent693f4af63dd98b963e91259029cc0131b791721c
mesa: Lock mutex around _mesa_HashLookup linked list chase.

Remove const qualifier from _mesa_HashLookup() table parameter to
avoid LOCK/UNLOCK warnings in the function body.

Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit 3094adb3caeb90124359db2356df3bf8ee94800a)
src/mesa/main/hash.c
src/mesa/main/hash.h