Skip to content

Fix C++ shared memory cleanup with multiple writers - #587

Open
avinxshKD wants to merge 1 commit into
ControlCore-Project:devfrom
avinxshKD:fix/cpp-shm-lifecycle
Open

avinxshKD wants to merge 1 commit into
ControlCore-Project:devfrom
avinxshKD:fix/cpp-shm-lifecycle

Conversation

@avinxshKD

Copy link
Copy Markdown
Contributor

Fixes #586

Don’t remove the shared memory segment while another process is still attached. Also avoids resetting an existing segment when another writer starts.

Added coverage for both writer exit orders.

@avinxshKD

Copy link
Copy Markdown
Contributor Author

Hey @pradeeban this should fix the multi writer SHM cleanup issue, PTAL :p.

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.

1 participant