diff options
author | Marek Olšák <[email protected]> | 2017-05-31 16:44:12 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-07 18:43:42 +0200 |
commit | 33e507ec23db3778294b75a1485021d2a35b0a22 (patch) | |
tree | 83894a8f32a0c39ff5631801a8ab8b1635636434 /src/util/u_queue.h | |
parent | 812fd1aaa8451938dc411b4cdb58acf2d358372c (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.h | 2 |
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, |