Skip to content

Catch exception from shm connection start()#135

Open
jiayisuse wants to merge 1 commit into
pytorch:mainfrom
jiayisuse:export-D20616906
Open

Catch exception from shm connection start()#135
jiayisuse wants to merge 1 commit into
pytorch:mainfrom
jiayisuse:export-D20616906

Conversation

@jiayisuse
Copy link
Copy Markdown
Contributor

Summary:
util::ringbuffer::shm::create(kDefaultSize) could throw system exception and
cause connection destruction before initilization completes. If not catch the
exception on connection level, destruction will clean up unregistered
resources to cause unrelated errors.

Differential Revision: D20616906

Summary:
util::ringbuffer::shm::create(kDefaultSize) could throw system exception and
cause connection destruction before initilization completes. If not catch the
exception on connection level, destruction will clean up unregistered
resources to cause unrelated errors.

Differential Revision: D20616906

fbshipit-source-id: 3b91458e26cca2e6bd393264ad1ca6dea4fb7b29
@facebook-github-bot
Copy link
Copy Markdown

This pull request was exported from Phabricator. Differential Revision: D20616906

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants