2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Release all semaphores in the list.
8 #include "exec_intern.h"
9 #include "semaphores.h"
10 #include <exec/semaphores.h>
11 #include <proto/exec.h>
13 /*****************************************************************************
17 AROS_LH1(void, ReleaseSemaphoreList
,
20 AROS_LHA(struct List
*, sigSem
, A0
),
23 struct ExecBase
*, SysBase
, 98, Exec
)
26 This function releases all semaphores in the list at once.
29 sigSem - pointer to list full of semaphores
43 *****************************************************************************/
47 struct SignalSemaphore
*ss
;
50 * We own all the semaphores, so just go over the list and release
54 ForeachNode(sigSem
, ss
)
60 } /* ReleaseSemaphoreList */