util/u_queue: add util_queue_fence_wait_timeout
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sun, 22 Oct 2017 15:38:46 +0000 (17:38 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 9 Nov 2017 12:58:10 +0000 (13:58 +0100)
commite3a8013de8ca854d21225be00f123ccf63f9060f
treeb0163adc1cbfe8ac52e7c98987ebd30d1d4e8f25
parentf1a364878431c8c5f4fd38b40b9766449e49f552
util/u_queue: add util_queue_fence_wait_timeout

v2:
- style fixes
- fix missing timeout handling in futex path

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/util/futex.h
src/util/simple_mtx.h
src/util/u_queue.c
src/util/u_queue.h