Commit b2014c7
Fix RTPSParticipantAttributes internal data races (#6370)
* Refs #23923: Take mutex in getter and env file callback
Signed-off-by: Juan Lopez Fernandez <juanlopez@eprosima.com>
* Refs #23923: Only update mutable attributes
Signed-off-by: Juan Lopez Fernandez <juanlopez@eprosima.com>
* Refs #23923: Copy attributes in getter
Signed-off-by: Juan Lopez Fernandez <juanlopez@eprosima.com>
* Refs #23923: Undo copy attributes
Signed-off-by: Juan Lopez Fernandez <juanlopez@eprosima.com>
* Refs #23923: Avoid calling get_attributes in SecurityManager constructor
Signed-off-by: Juan Lopez Fernandez <juanlopez@eprosima.com>
* Refs #23923: Copy attributes
Signed-off-by: Juan Lopez Fernandez <juanlopez@eprosima.com>
* Refs #23923: Protect missing cases
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Create new method to avoid API break
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Doxygen & TODO in next major
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Copy method in RTPSParticipant
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Mock and tests changes
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Revision
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Add missing mutable attribute
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Create const copy
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Uncrustify
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Spelling
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Split const and mutable RTPSParticipantAttributes
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Review - Fix Mutable & Constant attributes
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Review - Apply methods and composition of BuiltinAttributes
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Review - Update Tests
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Review - Add ConstantDiscoverySettings
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Solve using statement visibility
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Uncrustify
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Store constant attributes set at 'setup_' methods
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Init const attributes and update later
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
* Refs #23923: Review - Improve doxygen
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
---------
Signed-off-by: Juan Lopez Fernandez <juanlopez@eprosima.com>
Signed-off-by: Carlos Ferreira González <carlosferreira@eprosima.com>
Co-authored-by: Juan Lopez Fernandez <juanlopez@eprosima.com>
(cherry picked from commit 7dd4b4d)
# Conflicts:
# include/fastdds/dds/publisher/DataWriter.hpp
# include/fastdds/rtps/attributes/RTPSParticipantAttributes.h
# include/fastdds/rtps/participant/RTPSParticipant.h
# src/cpp/fastdds/builtin/type_lookup_service/TypeLookupManager.cpp
# src/cpp/fastdds/builtin/type_lookup_service/TypeLookupReplyListener.cpp
# src/cpp/fastdds/builtin/type_lookup_service/TypeLookupRequestListener.cpp
# src/cpp/fastdds/domain/DomainParticipantImpl.cpp
# src/cpp/rtps/builtin/BuiltinProtocols.cpp
# src/cpp/rtps/builtin/discovery/endpoint/EDPSimple.cpp
# src/cpp/rtps/builtin/discovery/endpoint/EDPStatic.cpp
# src/cpp/rtps/builtin/discovery/participant/PDP.cpp
# src/cpp/rtps/builtin/discovery/participant/PDPClient.cpp
# src/cpp/rtps/builtin/discovery/participant/PDPListener.cpp
# src/cpp/rtps/builtin/discovery/participant/PDPServer.cpp
# src/cpp/rtps/builtin/discovery/participant/PDPServerListener.cpp
# src/cpp/rtps/builtin/discovery/participant/PDPSimple.cpp
# src/cpp/rtps/builtin/discovery/participant/simple/PDPStatelessWriter.cpp
# src/cpp/rtps/builtin/liveliness/WLP.cpp
# src/cpp/rtps/flowcontrol/FlowControllerFactory.cpp
# src/cpp/rtps/flowcontrol/FlowControllerImpl.hpp
# src/cpp/rtps/participant/RTPSParticipantImpl.cpp
# src/cpp/rtps/participant/RTPSParticipantImpl.h
# src/cpp/rtps/reader/BaseReader.cpp
# src/cpp/rtps/reader/StatefulReader.cpp
# src/cpp/rtps/security/SecurityManager.cpp
# test/mock/rtps/RTPSParticipant/fastdds/rtps/participant/RTPSParticipant.h
# test/mock/rtps/RTPSParticipantAttributes/fastdds/rtps/attributes/RTPSParticipantAttributes.h
# test/unittest/dds/participant/ParticipantTests.cpp1 parent d96f0eb commit b2014c7
43 files changed
Lines changed: 4197 additions & 65 deletions
File tree
- include/fastdds
- dds/publisher
- rtps
- attributes
- participant
- security
- accesscontrol
- authentication
- src/cpp
- fastdds
- builtin/type_lookup_service
- domain
- rtps
- builtin
- discovery
- endpoint
- participant
- simple
- liveliness
- flowcontrol
- participant
- reader
- security
- security
- accesscontrol
- authentication
- test
- mock/rtps
- RTPSParticipantAttributes/fastdds/rtps/attributes
- RTPSParticipantImpl/rtps/participant
- RTPSParticipant/fastdds/rtps/participant
- SecurityPluginFactory/rtps/security
- unittest
- dds/participant
- rtps/security
- security
- accesscontrol
- authentication
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
| 520 | + | |
520 | 521 | | |
521 | 522 | | |
522 | 523 | | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
523 | 527 | | |
524 | 528 | | |
525 | 529 | | |
| |||
528 | 532 | | |
529 | 533 | | |
530 | 534 | | |
| 535 | + | |
531 | 536 | | |
532 | 537 | | |
533 | 538 | | |
534 | 539 | | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
535 | 544 | | |
536 | 545 | | |
537 | 546 | | |
| |||
0 commit comments