added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / arch / .unmaintained / dummy / permit.c
blobdcfbd21e944612e51839237e743538e0e6f7e61f
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <exec/execbase.h>
8 /******************************************************************************
10 NAME */
11 #include <proto/exec.h>
13 AROS_LH0(void, Permit,
15 /* LOCATION */
16 struct ExecBase *, SysBase, 23, Exec)
18 /* FUNCTION
19 This function activates the dispatcher again after a call to Permit().
21 INPUTS
22 None.
24 RESULT
25 None.
27 NOTES
28 This function preserves all registers.
30 EXAMPLE
32 BUGS
34 SEE ALSO
35 Forbid(), Disable(), Enable()
37 INTERNALS
39 HISTORY
41 ******************************************************************************/
43 if ((--SysBase->TDNestCnt) < 0
44 && (SysBase->AttnResched & 0x80)
45 && SysBase->IDNestCnt < 0
48 SysBase->AttnResched &= ~0x80;
50 Switch ();
52 } /* Permit */