Commit 9bfccc7
committed
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
# src/cpp/rtps/participant/RTPSParticipantImpl.cpp1 parent 447bf8d commit 9bfccc7
43 files changed
Lines changed: 1457 additions & 206 deletions
File tree
- include/fastdds
- dds/publisher
- rtps
- attributes
- participant
- src/cpp
- fastdds
- builtin/type_lookup_service
- domain
- rtps
- builtin
- discovery
- endpoint
- participant
- simple
- liveliness
- flowcontrol
- participant
- reader
- security
- accesscontrol
- authentication
- 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 | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| 484 | + | |
484 | 485 | | |
485 | 486 | | |
486 | 487 | | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
487 | 491 | | |
488 | 492 | | |
489 | 493 | | |
| |||
493 | 497 | | |
494 | 498 | | |
495 | 499 | | |
| 500 | + | |
496 | 501 | | |
497 | 502 | | |
498 | 503 | | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
499 | 507 | | |
500 | 508 | | |
501 | 509 | | |
| |||
0 commit comments