diff options
author | Nicolai Hähnle <[email protected]> | 2017-10-22 17:38:29 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-11-09 11:37:38 +0100 |
commit | 1b9d5ece557bc4ac1d69cc133dc533bb5a863dde (patch) | |
tree | ae82e37d7c5e0bf221b4f649c9348332e48d0673 | |
parent | b20f955bc17960736f333006dd8c2f0c9aa20e68 (diff) |
u_queue: export util_queue_fence_signal
Reviewed-by: Marek Olšák <[email protected]>
-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 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) |