2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
10 #include <proto/exec.h>
11 #include <proto/intuition.h>
12 #include "asl_intern.h"
14 /*****************************************************************************
18 AROS_LH1(void, ActivateAslRequest
,
21 AROS_LHA(APTR
, requester
, A0
),
24 struct Library
*, AslBase
, 14, Asl
)
43 27-11-96 digulla automatically created from
44 asl_lib.fd and clib/asl_protos.h
46 *****************************************************************************/
50 struct ReqNode
*reqnode
;
52 if (!requester
) return;
54 ObtainSemaphore( &(ASLB(AslBase
)->ReqListSem
));
56 reqnode
= FindReqNode(requester
, ASLB(AslBase
));
59 if (reqnode
->rn_ReqWindow
)
61 ActivateWindow(reqnode
->rn_ReqWindow
);
63 /* Not sure if we need to wait for it to actually become active here before returning or not?! */
65 } /* if (reqnode->rn_ReqWindow) */
69 ReleaseSemaphore(&(ASLB(AslBase
)->ReqListSem
));
73 } /* ActivateAslRequest */