home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!scifi!acheron!philabs!linus!agate!ucbvax!SCI.WFEB.EDU!MACRIDES
- From: MACRIDES@SCI.WFEB.EDU (Foteos Macrides)
- Newsgroups: comp.os.vms
- Subject: Re: LIB$FLAME, was LIB$SPAWN...
- Message-ID: <01GU0Y17S082000IV3@SCI.WFEB.EDU>
- Date: 28 Jan 93 01:14:40 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 25
-
- Carl and Terry,
-
- OK, I'll never again read news late at night and dash off a message in
- a groggy state! However...
-
- If you're playing around at night and do a lib$disable_ctrl() for
- CtrlY and a sys$qiow(0,TT_chan,IO$_SETMODE|IO$M_CTRLCAST|IO$M_CTRLYAST,etc.)
- to invoke your own AST routine, and you try a "shortcut" of doing a purge via
- system("purge filename.ext"), a.k.a. LIB$SPAWN() without the nowait flag, from
- that AST routine, the purge will get done (child process completes), but the
- parent process stays stuck in hibernation (VMS v5.3-2).
-
- Yes, rolling your own purge instead of spawning is trivial in the
- morning, basically: while(delete("filename.ext;-1") == 0) ; ("thank you" to
- everyone who suggested using negative version numbers) and everything else is
- already in the RTLs, so I should have hibernated myself last night, and will
- do so now!
-
- Fote
-
- =========================================================================
- Foteos Macrides Worcester Foundation for Experimental Biology
- MACRIDES@SCI.WFEB.EDU 222 Maple Avenue, Shrewsbury, MA 01545
- =========================================================================
-
-