HP3000-L Archives

November 1995, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dan Hollis <[log in to unmask]>
Reply To:
Dan Hollis <[log in to unmask]>
Date:
Wed, 8 Nov 1995 15:11:00 PST
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
I have a problem with a Pascal/Xl (Native Mode) program.
 
I have a parent process which has a bunch of child processes running
asynchronously. The parent process creates a bunch of child processes, and
then goes off into mainline code processing, with all the child processes
running asynchronously in the background.
 
The parent process is waiting for a bunch of nowait I/O reads to complete on
message files and sockets.
 
Is there any way for the parent process to be notified upon child process
termination?
 
Here are the restrictions:
 
1) The child process _cannot_ write to any of the files that the parent
process is waiting on. Yes, it would complete the parent processes' read,
but this is not an option.
 
2) The parent process cannot set a timeout on the reads, because the parent
process _must not poll_.
 
In Unix the solution is simple - using the SIGCHLD signal. Does MPE have a
similar signal passing facility?
 
-Dan
.----------------------------------------------.
|Dan Hollis -- Pharmacy Computer Services, Inc.|
[log in to unmask]      -     (503)476-3139|
`----------------------------------------------'

ATOM RSS1 RSS2