Unit 'exec' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

FindSemaphore

Find Semaphore by name

Declaration

Source position: exec.pas line 2073

function FindSemaphore(

  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