Unit 'Exec' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

FindSemaphore

Find Semaphore by name

Declaration

Source position: exec.pas line 1310

function FindSemaphore(

  const SigSem: PChar

):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: 2021-07-30