Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for _POSIX_THREAD_SAFE_FUNCTIONS #11

Closed
krnekit opened this issue Mar 13, 2016 · 1 comment
Closed

Support for _POSIX_THREAD_SAFE_FUNCTIONS #11

krnekit opened this issue Mar 13, 2016 · 1 comment
Labels
Milestone

Comments

@krnekit
Copy link

krnekit commented Mar 13, 2016

Though some (or may be all?) posix thread-safe functions is available in Bionic, the toolchain always undefine _POSIX_THREAD_SAFE_FUNCTIONS. Because of this, software cannot rely, that thread-safe functions available and must use not-safe alternatives, which causes bugs.

Can you enable this define?

@DanAlbert
Copy link
Member

Looks like bionic itself (in the platform, not in the NDK) actually does have this fixed. @jmgao is working on syncing the current headers with the NDK (I'm guessing we're going to have to be careful about when this is enabled, as not all platforms have those functions).

@DanAlbert DanAlbert added this to the r12 milestone Mar 14, 2016
@DanAlbert DanAlbert modified the milestones: r12, r13 May 12, 2016
@DanAlbert DanAlbert modified the milestones: r13, r14 Aug 15, 2016
@PvR33 PvR33 mentioned this issue Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants