Sample Header Ad - 728x90

Obtaining and returning a permit from a semaphore in a shell script

3 votes
1 answer
206 views
In a shell script I can use: ipcmk -S 4 To create a semaphore with 4 slots. With ipcrm I could delete the semaphore again. But how can I use it? I cannot find any semwait, ipcsemget or similar. How is this done?
Asked by Harald (1030 rep)
Aug 14, 2019, 09:28 AM
Last activity: Oct 11, 2021, 05:36 AM