From 1b9d5ece557bc4ac1d69cc133dc533bb5a863dde Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Sun, 22 Oct 2017 17:38:29 +0200 Subject: [PATCH] u_queue: export util_queue_fence_signal MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- src/util/u_queue.c | 2 +- src/util/u_queue.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/u_queue.c b/src/util/u_queue.c index 3b05110e9f8..33436e0749a 100644 --- a/src/util/u_queue.c +++ b/src/util/u_queue.c @@ -89,7 +89,7 @@ remove_from_atexit_list(struct util_queue *queue) * util_queue_fence */ -static void +void util_queue_fence_signal(struct util_queue_fence *fence) { mtx_lock(&fence->mutex); diff --git a/src/util/u_queue.h b/src/util/u_queue.h index 7a028ef0847..5a546e53fdc 100644 --- a/src/util/u_queue.h +++ b/src/util/u_queue.h @@ -57,6 +57,7 @@ struct util_queue_fence { void util_queue_fence_init(struct util_queue_fence *fence); void util_queue_fence_destroy(struct util_queue_fence *fence); void util_queue_fence_wait(struct util_queue_fence *fence); +void util_queue_fence_signal(struct util_queue_fence *fence); static inline bool util_queue_fence_is_signalled(struct util_queue_fence *fence) -- 2.30.2