Skip to content

Use pthread_once in rcl_yaml_param_parser on Apple (backport #1325) - #1328

Merged
fujitatomoya merged 1 commit into
lyricalfrom
mergify/bp/lyrical/pr-1325
Aug 20, 2026
Merged

fujitatomoya merged 1 commit into
lyricalfrom
mergify/bp/lyrical/pr-1325

Conversation

@mergify

@mergify mergify Bot commented Aug 19, 2026

Copy link
Copy Markdown

This is part of an effort to contribute RoboStack downstream patches back upstream.

This upstreams patch/ros-rolling-rcl-yaml-param-parser.patch, authored in RoboStack by wep21 <[email protected]>.

Apple platforms do not provide the C11 threads API used here on other POSIX platforms. This maps the once_flag and call_once usage to pthread_once on Apple while keeping the existing Windows and C11 threads paths unchanged.


This is an automatic backport of pull request #1325 done by Mergify.

This upstreams a RoboStack build fix from patch/ros-rolling-rcl-yaml-param-parser.patch.

Apple platforms do not provide the C11 threads API used here on other POSIX platforms. Map the once_flag and call_once usage to pthread_once on Apple while keeping the existing Windows and C11 threads paths unchanged.

Signed-off-by: Tobias Fischer <[email protected]>
Co-authored-by: wep21 <[email protected]>
(cherry picked from commit 15aeab9)
@mergify

mergify Bot commented Aug 19, 2026

Copy link
Copy Markdown
Author

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@fujitatomoya

Copy link
Copy Markdown
Collaborator

@fujitatomoya

Copy link
Copy Markdown
Collaborator

the failures are unrelated to this PR, merging.

@fujitatomoya
fujitatomoya merged commit a1679ac into lyrical Aug 20, 2026
3 checks passed
@ahcorde
ahcorde deleted the mergify/bp/lyrical/pr-1325 branch August 20, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants