Repository navigation
Conversation
This upstreams the thread-linking portion of RoboStack downstream patch `patch/ros-rolling-rcutils.patch`. rcutils uses pthread-backed functionality, for example pthread_once in src/base64.c and the pthread fallback path for thread-local storage on older iOS. Find and link the CMake Threads target explicitly, and export it for downstream consumers, instead of relying on platform-specific implicit pthread linkage. Signed-off-by: Tobias Fischer <[email protected]>
|
FYI @wep21 @traversaro, opened from the RoboStack patch tracking effort in RoboStack/robostack#124. |
|
Tick the box to add this pull request to the merge queue (same as
|
|
Pulls: #579 |
Co-authored-by: Silvio Traversaro <[email protected]> Signed-off-by: Tobias Fischer <[email protected]>
Signed-off-by: Tobias Fischer <[email protected]>
ahcorde
left a comment
There was a problem hiding this comment.
There are some building failures https://ci.ros2.org/job/ci_linux/29857/console
5792a29 to
04ffd98
Compare
Signed-off-by: Tobias Fischer <[email protected]>
04ffd98 to
d4fcb62
Compare
|
Ok let's give it another go please @ahcorde |
This is part of an effort to contribute RoboStack downstream patches back upstream.
Origin:
patch/ros-rolling-rcutils.patch, authored by Daisuke Nishimatsu.This extracts the thread-linking portion of the downstream patch.
rcutilsuses pthread-backed functionality, for examplepthread_onceinsrc/base64.cand the pthread fallback path for thread-local storage on older iOS. Finding and linking CMake'sThreads::Threadstarget makes that dependency explicit, and exportingThreadsmakes the package metadata more conservative for downstream consumers.