Unit 'EXEC' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

FindSemaphore

Find Semaphore by name

Declaration

Source position: exec.pas line 1236

function FindSemaphore(

  const sigSem: pCHAR

):pSignalSemaphore;

function FindSemaphore(

  const sigSem: string

):pSignalSemaphore;

Arguments

sigSem

  

Name of the semaphore to find

Function result

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

Arguments

sigSem

  

Name of the semaphore to find

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