master
Add copyright headers on source files.
Brought up to date with code review comments. See CL 149819180.
Use futex to implement low-level semphore on Linux, even when building in portable C++11 mode.
include <chrono> for system_clock (#26)
Portability fixes and workarounds for s390x, MacOS, and C11 atomics.
platform: nsync futex: fix build on riscv32 (#18)
Add implementation of atomic operations for LoongArch (#14)
assembler atomics for s390x, RISC-V, and m68k; fix typos in README.
Introduce an implementation of nsync's internal semaphore that uses MacOS Grand Central Dispatch primitives. For documentation of that primitive, see: https://developer.apple.com/documentation/dispatch/1452955-dispatch_semaphore_create https://developer.apple.com/documentation/dispatch/1453087-dispatch_semaphore_wait https://developer.apple.com/documentation/dispatch/1452919-dispatch_semaphore_signal
Add a generic_unix Makefile to nsync, plus cleanups.
Include stdlib.h in nsync_semaphore_win32.c for use of abort(). I had omitted this before.