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 /*****************************************************************************
17 AROS_LH1(void, FreeSignal
,
20 AROS_LHA(LONG
, signalNum
, D0
),
23 struct ExecBase
*, SysBase
, 56, Exec
)
26 Free a signal allocated with AllocSignal().
29 signalNum - Number of the signal to free or -1 to do nothing.
40 AllocSignal(), Signal(), Wait()
44 ******************************************************************************/
50 /* No more atomic problem - i beleive THIS is atomic. - sonic */
51 struct Task
*me
= SysBase
->ThisTask
;
54 me
->tc_SigAlloc
&= ~(1<<signalNum
);