Unlocks a semaphore.
Err UnlockSemaphore( Item s )
This is an alternate entry point for UnlockItem()
. This procedure unlocks the specified semaphore. For information about semaphores, which are used to control access to shared resources, see the “Sharing System Resource's” chapter in the 3DO Portfolio Programmer's Guide.
The procedure returns 0 if successful or an error code (a negative value) if an error occurs. Possible error codes include:
SWI implemented in kernel folio V20.
This is the same SWI as UnlockItem()
.
LockSemaphore
(), LockItem(), UnlockItem()