# Functions
CreateSHMLock sets up a shared-memory segment holding a given number of POSIX semaphores, and returns a struct that can be used to operate on those locks.
OpenSHMLock opens an existing shared-memory segment holding a given number of POSIX semaphores.