Skip to content

Conversation

@yellowhatter
Copy link

@yellowhatter yellowhatter commented Feb 17, 2025

On windows platform persistency is implemented through temporary file. This approach is much more intrusive compared to POSIX persistency approach:

  • produces extra writes on disk
  • consumes disk memory
  • persists across reboots

This PR exposes platform-specific setting ShmemConfExt and adds suppress_persistency option for windows.
Windows code is a little bit refactored to be more readable and support persistency file disabling.
Tests also included.
I also fixed some new clippy errors here and there

This change is needed for zenoh project

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