Skip to content

Support for _POSIX_THREAD_SAFE_FUNCTIONS #11

Closed

Description

@krnekit

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?

Activity

  1. DanAlbert commented on Mar 14, 2016

    @DanAlbert
    Contributor

    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).

  2. added this to the r12 milestone on Mar 14, 2016
  3. modified the milestones: r12, r13 on May 12, 2016
  4. modified the milestones: r13, r14 on Aug 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions