This Technical Note has been retired . Please see the Technical Notes page for current documentation. The following items do not form a definitive list. Directly UNIX is a protected environment where the kernel arbitrates all hardware access. Applications should use the appropriate Macintosh Toolbox manager when it is available.
Some applications rely on internal operating system details.
Use if possible existing supported trap calls, instead of trying to access the event queue. Some applications work because the Macintosh OS uses a roving allocation scheme. Such applications free memory then use that memory in subsequent traps. These files include the System file, Finder, MultiFinder, AppleShare, MacTCP and Patch files. Avoid a privileged instruction where a non-privileged instruction does just as well.