gallium/u_queue: reduce the number of mutexes by 2
authorMarek Olšák <marek.olsak@amd.com>
Thu, 16 Jun 2016 23:33:12 +0000 (01:33 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 24 Jun 2016 10:24:40 +0000 (12:24 +0200)
commit4a06786efd42abfdb0babf65ed4ac59ae58fe4b5
treecb992d5e4cebaec65c5255984299b3fc4111bbef
parent2fba0aaa700bbdef37ac5da6da005b24be570e48
gallium/u_queue: reduce the number of mutexes by 2

by converting semaphores to condvars and using the main mutex

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/util/u_queue.c
src/gallium/auxiliary/util/u_queue.h