Version: All versions of ooRexx
Op Sys: Windows and *nix
SysCreateMutexSem and SysCreateEventSem (unix versions) have a call to sem_unlink prior to creating the semaphore. This is a bug that will cause a new semaphore to be created every time the function is called. This statement should be removed so that the function fails if the semaphore exists.
The last statement in the SysOpenMutexSem and SysOpenEventSem (unix and windows versions) should be changed from
The prototype for the function will also need modification.
The text should also be modified to indicate that the function will fail if you attempt to create a named semaphore that already exists.