summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-04-18 14:27:24 -0700
committerElliott Hughes <enh@google.com>2019-04-24 09:12:29 -0700
commit420671135237cdf40c98d2336fb8712b7f0a2861 (patch)
treec4d85a256eb46c8aa1a00a1675ac31f60498e313 /libc/stdio/stdio.cpp
parent30bcaae2b6bcdeadd42066fe5b6f5a49bd5b9b07 (diff)
threads.h: Add C11 thread support.
FreeBSD, glibc, and musl have all implemented C11 threads at this point. POSIX is looking at how to align with it. Probably time to jump on the bandwagon ourselves... Implemented in the same style as <termios.h> so we can provide this functionality even on older API levels. This does mean that this is strictly more expensive than calling pthread functions directly. Although this isn't in POSIX yet, assume that it's going to be basically the same as C11 and add the header test anyway. We should revisit this when POSIX actually adds <threads.h>. Test: new tests Change-Id: I8602d67ce71ca7f8ed1529daa0a8ea1feb083dd6
Diffstat (limited to 'libc/stdio/stdio.cpp')
0 files changed, 0 insertions, 0 deletions