main
use C linkage where appropriate in headers
eal: promote more power intrinsics API as stable
eal: add build-time constant check with MSVC
eal: enhance lock annotations for rwlock
spinlock: fix API comments