Re: [Mesa-dev] [PATCH] main: Use _mesa_HashLock/UnlockMutex consistently

2017-05-18 Thread Timothy Arceri
On 19/05/17 05:01, Thomas Helland wrote: This is shorter and easier on the eyes. At the same time this also ensures that we are always asserting that the table pointer is not NULL. Currently that was not done for all situations. Can we also have another patch that moves _mesa_HashUnlockMutex an

Re: [Mesa-dev] [PATCH] main: Use _mesa_HashLock/UnlockMutex consistently

2017-05-18 Thread Samuel Pitoiset
Looks good to me. Reviewed-by: Samuel Pitoiset On 05/18/2017 09:01 PM, Thomas Helland wrote: This is shorter and easier on the eyes. At the same time this also ensures that we are always asserting that the table pointer is not NULL. Currently that was not done for all situations. --- src/mes

[Mesa-dev] [PATCH] main: Use _mesa_HashLock/UnlockMutex consistently

2017-05-18 Thread Thomas Helland
This is shorter and easier on the eyes. At the same time this also ensures that we are always asserting that the table pointer is not NULL. Currently that was not done for all situations. --- src/mesa/main/hash.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff