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

LockLayerRom

Lock Layer structure by ROM(gfx lib) code.

Declaration

Source position: agraphics.pas line 2365

procedure LockLayerRom(

  Layer: PLayer

);

Description

Return when the layer is locked and no other task may alter the ClipRect structure in the Layer structure. This call does not destroy any registers. This call nests so that callers in this chain will not lock themselves out. Do not have the Layer locked during a call to intuition. There is a potential deadlock problem here, if intuition needs to get other locks as well. Having the layer locked prevents other tasks from using the layer library functions, most notably intuition itself. So be brief. layers.library's LockLayer() is identical to LockLayerRom().

The layer is locked and the task can render assuming the ClipRects will not change out from underneath it until an UnlockLayerRom() is called.

See also

UnlockLayerRom

  

Unlock Layer structure by ROM(gfx lib) code.

LockLayer

  

Lock layer to make changes to ClipRects.


Documentation generated on: 2021-07-30