Skip to content

Commit

Permalink
Revert "Removed the iree_thread_join in the cleanup of deferred_work_…
Browse files Browse the repository at this point in the history
…queue.c" (iree-org#18616)

Reverts iree-org#18605
  • Loading branch information
AWoloszyn authored Sep 27, 2024
1 parent 14728a7 commit 8872710
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/src/iree/hal/utils/deferred_work_queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,10 @@ void iree_hal_deferred_work_queue_destroy(
// Request the workers to exit.
iree_hal_deferred_work_queue_request_exit(work_queue);

iree_thread_join(work_queue->worker_thread);
iree_thread_release(work_queue->worker_thread);

iree_thread_join(work_queue->completion_thread);
iree_thread_release(work_queue->completion_thread);

iree_hal_deferred_work_queue_working_area_deinitialize(
Expand Down

0 comments on commit 8872710

Please sign in to comment.