musl/arch/powerpc
Rich Felker b7cf71a190 add threads.h and needed per-arch types for mtx_t and cnd_t
based on patch by Jens Gustedt.

mtx_t and cnd_t are defined in such a way that they are formally
"compatible types" with pthread_mutex_t and pthread_cond_t,
respectively, when accessed from a different translation unit. this
makes it possible to implement the C11 functions using the pthread
functions (which will dereference them with the pthread types) without
having to use the same types, which would necessitate either namespace
violations (exposing pthread type names in threads.h) or incompatible
changes to the C++ name mangling ABI for the pthread types.

for the rest of the types, things are much simpler; using identical
types is possible without any namespace considerations.
2014-09-06 20:44:30 -04:00
..
bits add threads.h and needed per-arch types for mtx_t and cnd_t 2014-09-06 20:44:30 -04:00
atomic.h add working a_spin() atomic for non-x86 targets 2014-08-25 15:43:40 -04:00
crt_arch.h new mostly-C crt1 implementation 2013-07-26 01:49:14 -04:00
pthread_arch.h workaround clang deficiency affecting thread pointer access on powerpc 2013-12-02 02:45:10 -05:00
reloc.h refactor to remove arch-specific relocation code from dynamic linker 2014-06-18 02:44:02 -04:00
syscall_arch.h make socketcall types common as they are same for all architectures 2014-04-17 14:53:27 -04:00