| Q D E V _ H L P _ N O S W I T C H ( )
| | | | | SOURCE: qdev_macros.txt 1.16 (12/09/2014) English AMIGA - PUBLIC
----------------------------------------------------------------------------
NAME
QDEV_HLP_NOSWITCH() - Forbid()/Permit() brace support.
SYNOPSIS
QDEV_HLP_NOSWITCH(code);
QDEV_HLP_NOSWITCH(<code>);
FUNCTION
This macro allows to brace the critical task code with
arbitration.
INPUTS
code - A snippet of code with usual syntax rules.
RETURNS
No output.
BASES
SysBase
NOTES
None.
SEE ALSO
QDEV_HLP_NOINTSEC()
EXAMPLE
#include <proto/exec.h>
#include <exec/execbase.h>
#include <qdev.h>
...
struct MsgPort *mp;
QDEV_HLP_NOSWITCH
(
QDEV_HLP_ITERATE(
&SysBase->PortList, struct MsgPort *, mp)
{
...
}
);
...
BUGS
None known.
----------------------------------------------------------------------------
| |
| |