2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: Graphics function UnlockLayerRom()
8 #include <proto/exec.h>
9 #include <graphics/layers.h>
11 #include "graphics_intern.h"
13 /*****************************************************************************
16 #include <proto/graphics.h>
18 AROS_LH1(void, UnlockLayerRom
,
21 AROS_LHA(struct Layer
*, l
, A5
),
24 struct GfxBase
*, GfxBase
, 73, Graphics
)
27 Unlocks a previously locked layer for access by other applications
29 If a task has locked a layer multiple times it must unlock it
30 as many times as well as locks nest.
31 This functions does the same as layers/UnlockLayerRom()
34 l - pointer to layer structure
43 Does not save all registers.
46 LockLayerRom(), hyperlayers.library/LockLayer()
47 hyperlayers.library/UnLockLayer()
53 *****************************************************************************/
57 ReleaseSemaphore(&l
->Lock
);
60 } /* UnlockLayerRom */