tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / rom / intuition / lockpubclass.c
blob4422a682e14534c632984f2fab5c5852d452de56
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
4 $Id$
6 Locks the public classes list.
7 */
9 #include <proto/exec.h>
10 #include "intuition_intern.h"
12 /*****************************************************************************
14 NAME */
15 #include <proto/intuition.h>
17 AROS_LH0(void, lockPubClass,
19 /* SYNOPSIS */
21 /* LOCATION */
22 struct IntuitionBase *, IntuitionBase, 120, Intuition)
24 /* FUNCTION
25 Locks the public classes list.
27 INPUTS
28 None.
30 RESULT
31 None.
33 NOTES
35 EXAMPLE
37 BUGS
39 SEE ALSO
40 UnlockPubClass()
42 INTERNALS
44 *****************************************************************************/
46 AROS_LIBFUNC_INIT
48 ObtainSemaphoreShared(&GetPrivIBase(IntuitionBase)->ClassListLock);
50 AROS_LIBFUNC_EXIT
51 } /* unlockPubClass */