Deletes a semaphore.
Err DeleteSemaphore( Item s )
This macro deletes a semaphore.
For information about semaphores, which are used to control access to shared resources, see the Sharing System Resources chapter in the 3DO Portfolio Programmer's Guide.
The macro returns a value greater than or equal to 0 if successful or an error code if an error occurred.
Macro implemented in semaphore.h V20.
As with all items, the item number of a deleted semaphore is not reused. If a task specifies the item number of a deleted semaphore, the kernel informs the task that the item no longer exists.
CreateSemaphore
()