Skip to content

Fix thread handle leak on Windows #133

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 4, 2025

Conversation

lmielick
Copy link
Contributor

@lmielick lmielick commented Jun 3, 2025

Summary

Fix thread handle leak on Windows.

Unix implementation of llvm_thread_join_impl is simply calling pthread_join as no further cleanup is required with pthreads.
Windows implementation is calling WaitForSingleObject but handle closure is missing.

JIRA ticket

  • E-169967

Related PR in NPU Compiler and/or OpenVINO repository with sub-module update

  • PR-18345

Other related tickets

@lmielick lmielick requested a review from a team as a code owner June 3, 2025 10:57
@hrotuna hrotuna merged commit f3447df into intel:npu/release/19.x Jun 4, 2025
8 checks passed
sramasit pushed a commit to sramasit/npu-plugin-llvm that referenced this pull request Jun 27, 2025
sramasit pushed a commit to sramasit/npu-plugin-llvm that referenced this pull request Jun 27, 2025
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.

3 participants