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

FindSemaphore

Find Semaphore by name

Declaration

Source position: exec.pas line 1817

function FindSemaphore(

  const Name: PChar

):PSignalSemaphore;

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