Commit d588ccb
fix: Fixed race condition in action server between is_ready and take"… (#2531)
* fix: Fixed race condition in action server between is_ready and take" (#2495)
Some background information: is_ready, take_data and execute data
may be called from different threads in any order. The code in the old
state expected them to be called in series, without interruption.
This lead to multiple race conditions, as the state of the pimpl objects
was altered by the three functions in a non thread safe way.
Co-authored-by: William Woodall <william@osrfoundation.org>
Signed-off-by: Janosch Machowinski <J.Machowinski@cellumation.com>
* fix: added workaround for call to double calls to take_data
This adds a workaround for a known bug in the executor in iron.
Signed-off-by: Janosch Machowinski <J.Machowinski@cellumation.com>
---------
Signed-off-by: Janosch Machowinski <J.Machowinski@cellumation.com>
Co-authored-by: Janosch Machowinski <J.Machowinski@cellumation.com>
Co-authored-by: William Woodall <william@osrfoundation.org>1 parent c1a01fc commit d588ccb
2 files changed
Lines changed: 444 additions & 240 deletions
0 commit comments