🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mod.computers.vax
Article #3871

Submission for mod-computers-vax

#3871
From: olson
Date: Thu, 19 Mar 1987 22:19
36 lines
2190 bytes
Path: artecon!olson
From: olson@artecon.artecon.UUCP (Jay J. Olson)
Newsgroups: mod.computers.vax
Subject: Possible problem with use of EFN 0 under VMS 4.5
Message-ID: <392@artecon.artecon.UUCP>
Date: 19 Mar 87 22:19:25 GMT
Reply-To: olson@artecon.UUCP ()
Distribution: world
Organization: artecon
Lines: 25

I am posting this for a friend who does not have access to the net,
but since I wrote the code, I am equally interested in the replies.

A long time ago (VMS 2.x) I wrote some code which creates a detached
process, then does a $QIOW waiting to read from the termination
mailbox to know when the program finishes. This code has been working
fine ever since, but when 4.5 was installed, it stopped working.

After some investigation, I was able to determine that the event flag
specified in the $QIOW was being set before the detached program
completed and wrote the accounting record to the termination mailbox.
The event flag in question was the default, event flag 0 (admittedly
not a good practice), and changing the program to use a different
event flag solved the problem.

Obviously, some other piece of software was also using event flag 0
(note that the results observed were the same whether or not the
program was recompiled/relinked under 4.5). The question, then, is did
anything change in 4.5 involving the use of event flag 0, perhaps by
the FORTRAN (or some other) runtime library? Has anyone else seen
behavior of this sort? 

		  - Jay Olson
		  ...{hp-sdd,esosun,telesoft}!artecon!olson (work)
		  ...{hp-sdd,esosun,telesoft}!artecon!gumby!jjo (home)
Technical Details
Message-ID: <8703192219.AA26227@artecon.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!hp-sdd.UUCP!artecon!olson

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ucbvax!hp-sdd.UUCP!artecon!olson
From: olson@artecon.UUCP
Newsgroups: mod.computers.vax
Subject: Submission for mod-computers-vax
Message-ID: <8703192219.AA26227@artecon.uucp>
Date: Thu, 19-Mar-87 17:19:26 EST
Article-I.D.: artecon.8703192219.AA26227
Posted: Thu Mar 19 17:19:26 1987
Date-Received: Sun, 22-Mar-87 21:08:53 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Distribution: world
Organization: The ARPA Internet
Lines: 36
Approved: info-vax@sri-kl.arpa