From: Nicolai Hähnle Date: Sun, 22 Oct 2017 15:38:29 +0000 (+0200) Subject: u_queue: export util_queue_fence_signal X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b9d5ece557bc4ac1d69cc133dc533bb5a863dde;p=mesa.git u_queue: export util_queue_fence_signal Reviewed-by: Marek Olšák --- 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)