Unit 'MUIClass.Base' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#MUIClass]

TMUISemaphore

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Exec Semaphore as MUI Object

Declaration

Source position: MUIClass.Base.pas line 303

type TMUISemaphore = class(TMUIWithParent)

public

  procedure CreateObject; override;

  

Create Semaphore MUI item

  function Attempt;

  

Emulates exec.library/AttemptSemaphore.

  function AtteptShared;

  

Emulates exec.library/AttemptSemaphoreShared.

  procedure Obtain;

  

Emulates exec.library/ObtainSemaphore.

  procedure ObtainShared;

  

Emulates exec.library/ObtainSemaphoreShared.

  procedure Release;

  

Emulates exec.library/ReleaseSemaphore.

end;

Inheritance

TMUISemaphore

  

Exec Semaphore as MUI Object

|

TMUIWithParent

  

Subclass of TNotify to introduce the Parent relation

|

TMUINotify

  

Notify class is superclass of all other MUI classes.

|

TMUIRootClass

  

Base class for all MUI Class

|

TObject

Description

The semaphore class helps to access dataspace objects from different tasks. Its methods are identical to the exec.library semaphore functions and work on the semaphore thats contained in the Semaphore classes instance data.


Documentation generated on: 2024-11-21