As I can see, that StackOverflow thread suggests that POSIX locks are not suitable for this, not SysV ones. So I still think that SysV semaphores are the way to go.
As I can see, that StackOverflow thread suggests that POSIX locks are not suitable for this, not SysV ones. So I still think that SysV semaphores are the way to go.