Skip to content

Conversation

@alexbatashev
Copy link
Contributor

Threads from default queue thread pool can access scheduler after its destruction has begun.
To avoid such illegal access, wait for all threads to join in scheduler destructor.

Threads from default queue thread pool can access scheduler after its destruction has begun.
To avoid such illegal access, wait for all threads to join in scheduler destructor.
@alexbatashev alexbatashev requested a review from a team as a code owner January 25, 2021 08:26
romanovvlad
romanovvlad previously approved these changes Jan 25, 2021
s-kanaev
s-kanaev previously approved these changes Jan 26, 2021
@bader bader merged commit c9c1de9 into intel:sycl Feb 5, 2021
@alexbatashev alexbatashev deleted the wait_thread_pool branch February 5, 2021 10:46
vladimirlaz pushed a commit to vladimirlaz/llvm that referenced this pull request Mar 26, 2021
Threads from default queue thread pool can access scheduler after its destruction has begun.
To avoid such illegal access, wait for all threads to join in scheduler destructor.
vladimirlaz added a commit that referenced this pull request Mar 26, 2021
Threads from default queue thread pool can access scheduler after its destruction has begun.
To avoid such illegal access, wait for all threads to join in scheduler destructor.

Co-authored-by: Alexander Batashev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants