diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-10-22 17:38:29 +0200 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-11-03 19:38:41 +0100 |
commit | a6ee8f2851d5ad0ce7dbd4ddf439069a2b625dd0 (patch) | |
tree | 17a9448bcb3dcf22671a191b5e0a3f74e5eb1f45 | |
parent | 4fe61d31ae7c0c56281ea435e99f4e6204e3b3f5 (diff) |
u_queue: export util_queue_fence_signal
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
-rw-r--r-- | src/util/u_queue.c | 2 | ||||
-rw-r--r-- | src/util/u_queue.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/util/u_queue.c b/src/util/u_queue.c index 3b05110e9f..33436e0749 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 7a028ef084..5a546e53fd 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) |