nsync

C library providing synchronization primitives like mutexes and condition variables

brewmacoslinux
Try with needOr install directly
Source

About

C library that exports various synchronization primitives

Commands

nsync

Examples

Link nsync library to a C program for thread synchronization$ gcc -o myapp myapp.c -lnsync -pthread
Check nsync library version and installation$ pkg-config --modversion nsync
Get compiler flags needed to use nsync library$ pkg-config --cflags --libs nsync