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

LockLayerInfo

Lock the LayerInfo structure.

Declaration

Source position: layers.pas line 114

procedure LockLayerInfo(

  LayerInfo: PLayer_Info

);

Description

Before doing an operation that requires the LayerInfo structure, make sure that no other task is also using the LayerInfo structure. LockLayerInfo() returns when the LayerInfo belongs to this task. There should be an UnlockLayerInfo for every LockLayerInfo.

Attention

All layer routines presently LockLayerInfo() when they start up and UnlockLayerInfo() as they exit. Programmers will need to use these Lock/Unlock routines if they wish to do something with the LayerStructure that is not supported by the layer library.

See also

UnlockLayerInfo

  

Unlock the LayerInfo structure.


Documentation generated on: 2021-07-30