[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'Exec' (#aros)

FindSemaphore

Find Semaphore by name

Declaration

Source position: exec.pas line 1307

function FindSemaphore(

  const SigSem: STRPTR

):PSignalSemaphore;

Arguments

SigSem

  

Name of the semaphore to find

Function result

A pointer to the signal semaphore, or nil if none found.

Description

This function will search the system signal semaphore list for a semaphore with the given name. The first semaphore matching this name will be returned. This function must be protected with A Forbid()/Permit() pair!


Documentation generated on: 2017-01-10