2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
9 #include <proto/exec.h>
11 #include "camd_intern.h"
13 /*****************************************************************************
17 AROS_LH1(APTR
, LockCAMD
,
20 AROS_LHA(ULONG
, locktype
, D0
),
23 struct CamdBase
*, CamdBase
, 5, Camd
)
26 Locks the internal lists in camd.
27 You must call UnlockCAMD later.
30 locktype - Only CD_Linkages is legal.
33 APTR to send to UnlockCAMD
47 2001-01-12 ksvalast first created
49 *****************************************************************************/
53 ObtainSemaphoreShared(CB(CamdBase
)->CLSemaphore
);
54 return CB(CamdBase
)->CLSemaphore
;