Merge pull request #90455 from gonzalolarralde/gonzalolarralde/embedded-platform-recursive-mutex-flags