Skip to content

Conversation

sophimao
Copy link
Contributor

@sophimao sophimao commented May 1, 2024

If the event being waited on is completed and deleted during the traversal of command_queue->{commands|inorder_commands}, this would lead to corruption of the corresponding data structure. This change fixes this issue by deferring the deletion till the end of the current iteration.

If the event being waited on is completed and deleted during the traversal
of command_queue->{commands|inorder_commands}, this would lead to corruption
of the corresponding data structure. This change fixes this issue by deferring
the deletion till the end of the current iteration.
@sophimao sophimao force-pushed the mem-blocking-free branch from 4545e93 to 5c1df40 Compare May 1, 2024 21:14
@sophimao
Copy link
Contributor Author

sophimao commented May 1, 2024

Similar issue as #322

@sophimao sophimao marked this pull request as ready for review May 2, 2024 19:04
@sophimao sophimao requested a review from rho180 May 2, 2024 19:05
@sophimao sophimao merged commit 47050cc into intel:main May 22, 2024
@sophimao sophimao deleted the mem-blocking-free branch May 22, 2024 20:34
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.

2 participants