summaryrefslogtreecommitdiffstats
path: root/src/util/u_queue.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-05-31 16:44:12 +0200
committerMarek Olšák <[email protected]>2017-06-07 18:43:42 +0200
commit33e507ec23db3778294b75a1485021d2a35b0a22 (patch)
tree83894a8f32a0c39ff5631801a8ab8b1635636434 /src/util/u_queue.h
parent812fd1aaa8451938dc411b4cdb58acf2d358372c (diff)
util/u_queue: add a way to remove a job when we just want to destroy it
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/util/u_queue.h')
-rw-r--r--src/util/u_queue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/u_queue.h b/src/util/u_queue.h
index 4aec1f20471..9876865c651 100644
--- a/src/util/u_queue.h
+++ b/src/util/u_queue.h
@@ -92,6 +92,8 @@ void util_queue_add_job(struct util_queue *queue,
struct util_queue_fence *fence,
util_queue_execute_func execute,
util_queue_execute_func cleanup);
+void util_queue_drop_job(struct util_queue *queue,
+ struct util_queue_fence *fence);
void util_queue_fence_wait(struct util_queue_fence *fence);
int64_t util_queue_get_thread_time_nano(struct util_queue *queue,