util/u_queue: fix a use-before-initialization race for queue->threads
authorMarek Olšák <marek.olsak@amd.com>
Wed, 7 Jun 2017 21:13:35 +0000 (23:13 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 7 Jun 2017 21:19:30 +0000 (23:19 +0200)
commite93a141f64dc59a686e1815a34fad31dcc8545e3
tree0e9c0bfaf70d08c691b9b170a18a98525ff3fc40
parent19f6cc3cbadfc89b7eba2f9d0b70bafac5b847e3
util/u_queue: fix a use-before-initialization race for queue->threads

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/util/u_queue.c
src/util/u_queue.h