Re: [Mesa-dev] [PATCH 04/18] mesa: Add functions for doing unlocked hash table lookups

2014-01-22 Thread Brian Paul
On 01/21/2014 03:35 PM, Fredrik Höglund wrote: This patch adds functions for locking/unlocking the mutex, along with _mesa_HashLookupWithoutLocking() and _mesa_HashInsertWithoutLocking() that do lookups and insertions without locking the mutex. These functions will be used by the ARB_multi_bind

[Mesa-dev] [PATCH 04/18] mesa: Add functions for doing unlocked hash table lookups

2014-01-21 Thread Fredrik Höglund
This patch adds functions for locking/unlocking the mutex, along with _mesa_HashLookupWithoutLocking() and _mesa_HashInsertWithoutLocking() that do lookups and insertions without locking the mutex. These functions will be used by the ARB_multi_bind entry points to avoid locking/unlocking the mutex