Check for SYS/GL during library init. Reason is that
[AROS.git] / rom / intuition / unlockpubscreenlist.c
blob075def9bac3f91480a732d3580863d5597c50bbe
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$
5 */
7 #include "intuition_intern.h"
9 /*****************************************************************************
11 NAME */
12 #include <proto/intuition.h>
14 AROS_LH0(VOID, UnlockPubScreenList,
16 /* SYNOPSIS */
18 /* LOCATION */
19 struct IntuitionBase *, IntuitionBase, 88, Intuition)
21 /* FUNCTION
22 Release lock made by LockPubScreenList().
24 INPUTS
25 None.
27 RESULT
28 None.
30 NOTES
32 EXAMPLE
34 BUGS
36 SEE ALSO
37 LockPubScreenList()
39 INTERNALS
41 *****************************************************************************/
43 AROS_LIBFUNC_INIT
45 DEBUG_UNLOCKPUBSCREENLIST(dprintf("UnLockPubScreenList: <%s>\n",
46 FindTask(NULL)->tc_Node.ln_Name));
48 ReleaseSemaphore(&GetPrivIBase(IntuitionBase)->PubScrListLock);
50 DEBUG_UNLOCKPUBSCREENLIST(dprintf("UnLockPubScreenList: done\n"));
52 AROS_LIBFUNC_EXIT
53 } /* UnlockPubScreenList */