-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
cppC++ codeC++ codeenhancementNew feature or requestNew feature or requestzenohZenoh plugin codeZenoh plugin code
Description
Refactoring Task
Conduct a full audit of all locking patterns in the C++ Zenoh plugin.
Motivation
Thread safety is critical for the Zenoh plugin which handles concurrent subscribe/publish operations. A comprehensive audit ensures:
- No deadlocks from lock ordering issues
- No race conditions from unlocked access
- Proper RAII lock guard usage
Scope
Review all files in middlewares/zenoh/src/zenoh_plugin/src/:
- Check all mutex lock/unlock patterns
- Verify lock ordering to prevent deadlocks
- Ensure atomic operations are used correctly
- Review std::lock_guard vs std::unique_lock usage
Priority
High - Thread safety bugs can cause data corruption and crashes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cppC++ codeC++ codeenhancementNew feature or requestNew feature or requestzenohZenoh plugin codeZenoh plugin code