musl/arch/x32/bits
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
..
alltypes.h.in add threads.h and needed per-arch types for mtx_t and cnd_t 2014-09-06 20:44:30 -04:00
endian.h import vanilla x86_64 code as x32 2014-02-23 11:07:18 +01:00
errno.h import vanilla x86_64 code as x32 2014-02-23 11:07:18 +01:00
fcntl.h import vanilla x86_64 code as x32 2014-02-23 11:07:18 +01:00
fenv.h import vanilla x86_64 code as x32 2014-02-23 11:07:18 +01:00
float.h import vanilla x86_64 code as x32 2014-02-23 11:07:18 +01:00
io.h import vanilla x86_64 code as x32 2014-02-23 11:07:18 +01:00
ioctl.h import vanilla x86_64 code as x32 2014-02-23 11:07:18 +01:00
ipc.h x32 port (diff against vanilla x86_64) 2014-02-23 11:09:16 +01:00
limits.h x32 port (diff against vanilla x86_64) 2014-02-23 11:09:16 +01:00
mman.h import vanilla x86_64 code as x32 2014-02-23 11:07:18 +01:00
msg.h x32 port (diff against vanilla x86_64) 2014-02-23 11:09:16 +01:00
posix.h import vanilla x86_64 code as x32 2014-02-23 11:07:18 +01:00
reg.h x32 port (diff against vanilla x86_64) 2014-02-23 11:09:16 +01:00
resource.h fix RLIMIT_ constants for mips 2014-04-15 19:17:52 -04:00
sem.h move struct semid_ds to from shared sys/sem.h to bits 2014-03-11 15:27:13 -04:00
setjmp.h x32 port (diff against vanilla x86_64) 2014-02-23 11:09:16 +01:00
shm.h x32 port (diff against vanilla x86_64) 2014-02-23 11:09:16 +01:00
signal.h fix signal.h breakage from moving stack_t to arch-specific bits 2014-03-18 23:27:45 -04:00
socket.h import vanilla x86_64 code as x32 2014-02-23 11:07:18 +01:00
stat.h x32 port (diff against vanilla x86_64) 2014-02-23 11:09:16 +01:00
statfs.h x32: fix struct statfs 2014-03-17 22:34:55 +01:00
stdarg.h import vanilla x86_64 code as x32 2014-02-23 11:07:18 +01:00
stdint.h x32 port (diff against vanilla x86_64) 2014-02-23 11:09:16 +01:00
syscall.h add syscall numbers for the new renameat2 syscall 2014-07-20 18:42:21 +02:00
termios.h import vanilla x86_64 code as x32 2014-02-23 11:07:18 +01:00
user.h import vanilla x86_64 code as x32 2014-02-23 11:07:18 +01:00