Article View: comp.sys.atari.st
Article #1939Re: Open Files at AC_CLOSE
From: R_Tim_Coslet
Date: Wed, 21 Jun 1989 12:55
Date: Wed, 21 Jun 1989 12:55
24 lines
1410 bytes
1410 bytes
In article: <1574@atari.UUCP>
apratt@atari.UUCP (Allan Pratt) writes:
>One crucial thing to remember is that desk accessories are meant to
>be like the Control Panel or a calculator or something -- you open
>them, use them, and close them. Desk accessories which do things in
>"background" are an extension to this concept, and much trickier.
[...]
>Therefore: DESK ACCESSORIES SHOULD NOT OPEN FILES OR ALLOCATE MEMORY
>WHEN THERE IS ANY CHANCE OF THE MAINLINE PROCESS TERMINATING.
[...]
>However, not all processes which run are AES processes, so you can't
>count on getting AC_CLOSE before process termination.
[...]
>I hope this clears up some of the remaining confusion about desk
>accessories.
So THAT is why NeoDesk's "Printer Queue" accessory occasionally (but not
always) aborts or errors in the middle of printing a file when I exit
the program I have been running!!!!
R. Tim Coslet
Usenet: R_Tim_Coslet@cup.portal.com
BIX: r.tim_coslet
Technical Details
Message-ID:
<19732@cup.portal.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!sun!imagen!atari!portal!cup.portal.com!R_Tim_CosletReferences:
<1158@gmdzi.UUCP> <1574@atari.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!sun!imagen!atari!portal!cup.portal.com!R_Tim_Coslet From: R_Tim_Coslet@cup.portal.com Newsgroups: comp.sys.atari.st Subject: Re: Open Files at AC_CLOSE Message-ID: <19732@cup.portal.com> Date: 21 Jun 89 12:55:17 GMT References: <1158@gmdzi.UUCP> <1574@atari.UUCP> Organization: The Portal System (TM) Lines: 24