Skip to content

Improve non-blocking ucxx::Endpoint::close()#232

Draft
pentschev wants to merge 44 commits intorapidsai:mainfrom
pentschev:non-blocking-ep-close-cancel
Draft

Improve non-blocking ucxx::Endpoint::close()#232
pentschev wants to merge 44 commits intorapidsai:mainfrom
pentschev:non-blocking-ep-close-cancel

Conversation

@pentschev
Copy link
Copy Markdown
Member

No description provided.

pentschev added 30 commits May 5, 2024 04:42
A race could cause the `Endpoint::errorCallback` to dereference an
already closed and destroyed `ucxx::Endpoint`, leading to segmentation
faults and sometimes deadlocks. With the use of a `weak_ptr<Endpoint>`
that can be prevented by returning before dereferencing the pointer
which should be safe since the owner has already been destroyed anyway.
Additionally comment out use of `dropCanceled()` which is probably now
redundant but requires confirmation.
@pentschev pentschev changed the base branch from branch-0.38 to branch-0.39 July 25, 2024 14:23
@pentschev pentschev changed the base branch from branch-0.39 to branch-0.40 July 25, 2024 14:23
@pentschev pentschev changed the base branch from branch-0.40 to branch-0.41 November 11, 2024 21:47
@pentschev pentschev force-pushed the non-blocking-ep-close-cancel branch from 36159e8 to f640255 Compare November 15, 2024 12:55
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented Apr 2, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@pentschev pentschev changed the base branch from branch-0.41 to main April 2, 2026 09:57
@pentschev pentschev self-assigned this Apr 2, 2026
@pentschev pentschev added feature request New feature or request non-breaking Introduces a non-breaking change libucxx labels Apr 2, 2026
@pentschev
Copy link
Copy Markdown
Member Author

/ok to test

@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented Apr 2, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@pentschev
Copy link
Copy Markdown
Member Author

/ok to test

@pentschev
Copy link
Copy Markdown
Member Author

/ok to test

@pentschev
Copy link
Copy Markdown
Member Author

/ok to test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature request New feature or request libucxx non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant