(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/graphics.h>

void LockLayerRom (l)

LOCATION
In GfxBase at offset 72

SYNOPSIS
struct Layer * l

FUNCTION
Locks the layer. Returns when the layer is locked for exclusive use. This call behaves like when a semaphore is locked. The same task may lock the same layer several times without locking itself out. For every call to this function a call to UnlockLayerRom() has to be made as the calls nest. This function will also prevent intuition from locking the layer so the layer should not be blocked too long. This function does exactly the same as layers/LockLayer()

INPUTS
l
pointer to layer that is to be locked

RESULT

EXAMPLE

SEE ALSO
UnlockLayerRom() LockLayer() UnLockLayer()

NOTES

BUGS
Does not save all registers.

INTERNALS

HISTORY
05.02.1999 bergers
Initial revision.