-
Notifications
You must be signed in to change notification settings - Fork 793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/datasharing custom path [12051] #2092
Conversation
ec89d33
to
3b03ad0
Compare
6588fe7
to
a7fd9bd
Compare
@Barry-Xu-2018 could you update the result from trial? thanks in advance. |
I have tried this PR. After specify
|
Just for clarification, the files that can still be found in |
bdc5d2e
to
f7e469d
Compare
thanks for the comments, so we can actually ignore those files under |
@fujitatomoya |
@richiprosima please test windows |
Checked the failing tests. Errors are not related to the changes. Windows job seems to be unstable and fails a lot due to |
@richiprosima Please test this |
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
Define two new classes: - SharedMemSegment is the same as before, using the BOOST shared memory. - SharedFileSegment uses BOOST memory mapped files. They both are specializations of a template class SharedSegment, which has a base class SharedSegmentBase. The idea is for DataSharing objects to hold a pointer to SharedSegmentBase that will be initialized as SharedMemSegment or SharedFileSegment depending on the configuration. At this point no changes have been done to the users of these classes, as they are already using SharedMemSegment Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Iker Luengo <ikerluengo@eprosima.com>
f7e469d
to
add6067
Compare
* Refs 12051. New boost headers for file mapping Signed-off-by: Iker Luengo <ikerluengo@eprosima.com> * Refs 12051. Testing for custom directories Signed-off-by: Iker Luengo <ikerluengo@eprosima.com> * Refs 12051. Define file and memory shared segments Define two new classes: - SharedMemSegment is the same as before, using the BOOST shared memory. - SharedFileSegment uses BOOST memory mapped files. They both are specializations of a template class SharedSegment, which has a base class SharedSegmentBase. The idea is for DataSharing objects to hold a pointer to SharedSegmentBase that will be initialized as SharedMemSegment or SharedFileSegment depending on the configuration. At this point no changes have been done to the users of these classes, as they are already using SharedMemSegment Signed-off-by: Iker Luengo <ikerluengo@eprosima.com> * Refs 12051. Datasharing to use files if path configured Signed-off-by: Iker Luengo <ikerluengo@eprosima.com> * Correct the removal of the shared object Signed-off-by: Iker Luengo <ikerluengo@eprosima.com> * Refs 12051. linters Signed-off-by: Iker Luengo <ikerluengo@eprosima.com> * Refs 12051. Correct unit test Signed-off-by: Iker Luengo <ikerluengo@eprosima.com> * Refs 12051. Fix warnings on Windows Signed-off-by: Iker Luengo <ikerluengo@eprosima.com> * Refs 12051. Keep old API and move templatized init Signed-off-by: Iker Luengo <ikerluengo@eprosima.com> * Removed semicolon Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 12051. Notification can be file shared too Signed-off-by: Iker Luengo <ikerluengo@eprosima.com> Co-authored-by: Miguel Company <miguelcompany@eprosima.com> Signed-off-by: Samuel Wilhelmsson <samuel@halodi.com>
No description provided.