(C) 1998 AROS - The Amiga Research OS


NAME

ULONG Wait (signalSet)

LOCATION
In SysBase at offset 53

SYNOPSIS
ULONG signalSet

FUNCTION
Wait until some signals are sent to the current task. If any signal of the specified set is already set when entering this function it returns immediately. Since almost any event in the OS can send a signal to your task if you specify it to do so signals are a very powerful mechanism.

INPUTS
signalSet
The set of signals to wait for.

RESULT
The set of active signals.

EXAMPLE

SEE ALSO
Signal(), SetSignal(), AllocSignal(), FreeSignal()

NOTES
Naturally it's not allowed to wait in supervisor mode.

Calling Wait() breaks an active Disable() or Forbid().

BUGS

INTERNALS

HISTORY
24.02.1999 digulla
Never use SysBase->ThisTask; always use FindTask(NULL);
15.12.1998 bergers
Fixed the multitasking bug for now. Added some more comments.
20.10.1998 hkiel
Amiga Research OS
12.05.1997 aros
Fixed all headers
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