2 Copyright © 1995-2009, The AROS Development Team. All rights reserved.
8 #include <exec/execbase.h>
9 #include <exec/tasks.h>
10 #include <aros/libcall.h>
11 #include <proto/exec.h>
13 #include "exec_intern.h"
15 /*****************************************************************************
19 AROS_LH1(void, FreeSignal
,
22 AROS_LHA(LONG
, signalNum
, D0
),
25 struct ExecBase
*, SysBase
, 56, Exec
)
28 Free a signal allocated with AllocSignal().
31 signalNum - Number of the signal to free or -1 to do nothing.
42 AllocSignal(), Signal(), Wait()
46 ******************************************************************************/
52 /* No more atomic problem - i beleive THIS is atomic. - sonic */
53 struct Task
*me
= GET_THIS_TASK
;
57 me
->tc_SigAlloc
&= ~(1 << signalNum
);