The SEM_RELEASE procedure releases the lock on the specified semaphore held by the current IDL process. If the current IDL process does not own the lock on the specified semaphore, this routine returns quietly.

Example


See SEM_LOCK for an example using this function.

Syntax


SEM_RELEASE, strName

Arguments


strName

The name associated with the semaphore. This is the name used when creating the semaphore (SEM_CREATE).

Note: Semaphore names must be 24 characters or less on Mac platforms.

Keywords


None

Version History


6.3

Introduced

See Also


SEM_CREATE, SEM_DELETE, SEM_LOCK