Tarsnap / libcperciva

BSD-licensed C99/POSIX library code shared between tarsnap, scrypt, kivaloo, spiped, and bsdiff.
Other
112 stars 11 forks source link

Add & use ipc_sync.h and ipc_sync.c #517

Closed gperciva closed 3 months ago

gperciva commented 6 months ago

This replaces #514.

The API is slightly different: it now includes _wait_prep() and _signal_prep(), which are optional functions.

cperciva commented 4 months ago

Ok aside from very minor comment nits. Please fix and then I'll merge.