2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: Graphics function UnlockLayerRom()
8 #include <proto/layers.h>
9 #include <proto/exec.h>
11 /*****************************************************************************
14 #include <proto/graphics.h>
16 AROS_LH1(void, UnlockLayerRom
,
19 AROS_LHA(struct Layer
*, l
, A5
),
22 struct GfxBase
*, GfxBase
, 73, Graphics
)
25 Unlocks a previously locked layer for access by other applications
27 If a task has locked a layer multiple times it must unlock it
28 as many times as well as locks nest.
29 This functions does the same as layers/UnlockLayerRom()
32 l - pointer to layer structure
41 Does not save all registers.
44 LockLayerRom(), hyperlayers.library/LockLayer()
45 hyperlayers.library/UnLockLayer()
51 *****************************************************************************/
55 ReleaseSemaphore(&l
->Lock
);
58 } /* UnlockLayerRom */