(C) 1998 AROS - The Amiga Research OS
THIS CALL IS DANGEROUS
Do not use it without thinking very well about it or better do not use it at all. Most of the time you can live without it by using semaphores or similar.
Calls to Forbid() nest, i.e. for each call to Forbid() you need one call to Permit().
No you really don't want to use this function.
To prevent deadlocks calling Wait() in forbidden state breaks the forbid - thus taskswitches may happen again.