2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Remove a semaphore from the list of public semaphores.
9 #include "exec_intern.h"
10 #include <exec/semaphores.h>
11 #include <proto/exec.h>
13 /*****************************************************************************
17 AROS_LH1(void, RemSemaphore
,
20 AROS_LHA(struct SignalSemaphore
*, sigSem
, A1
),
23 struct ExecBase
*, SysBase
, 101, Exec
)
26 Removes a semaphore from the system public semaphore list.
29 sigSem - Pointer to semaphore structure
34 Semaphores are shared between the tasks that use them and must
35 therefore lie in public (or at least shared) memory.
45 *****************************************************************************/
49 /* Arbitrate for the semaphore list */
52 /* Remove the semaphore */
53 Remove(&sigSem
->ss_Link
);