(C) 1998 AROS - The Amiga Research OS


NAME

BYTE AllocSignal (signalNum)

LOCATION
In SysBase at offset 55

SYNOPSIS
LONG signalNum

FUNCTION
Allocate a given signal out of the current task's pool of signals. Every task has a set of signals to communicate with other tasks. Half of them are reserved for the system and half of them is free for general use. Some of the reserved signals (e.g. SIGBREAKF_CTRL_C) have a defined behaviour and may be used by user code, however.

INPUTS
signalNum
Number of the signal to allocate or -1 if any signal will do.

RESULT
Number of the signal or -1 if the signal couldn't be allocated.

EXAMPLE

SEE ALSO
FreeSignal(), Signal(), Wait()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
12.05.1997 aros
Fixed all headers
10.01.1997 ldp
Also clear alloc'ed bit from tc_SigExcept and tc_SigWait.

Cache ThisTask in a local variable.

01.01.1997 ldp
Committed Amiga native (support) code

Changed clib to proto

10.12.1996 aros
Moved all #include's in the first column so makedepend can see it.
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
13.08.1996 digulla
Replaced __AROS_LA by __AROS_LHA Replaced some __AROS_LH*I by __AROS_LH* Sorted and added includes
01.08.1996 digulla
Added standard header for all files
01.08.1996 digulla
Added copyright notics and made headers conform
28.07.1996 digulla
Initial revision
28.07.1996 digulla
First CVS version of AROS