Lock the LayerInfo structure.
Source position: layers.pas line 114
procedure LockLayerInfo( |
LayerInfo: PLayer_Info |
); |
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.
|
Unlock the LayerInfo structure. |