master
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 copyright headers on source files.
Portability fixes and workarounds for s390x, MacOS, and C11 atomics.
cmake for Win32/Linux; fix Win32 warnings; fix C++11 build; keep up with bazel incompatibilities.