Subject: | |
From: | |
Reply To: | |
Date: | Wed, 8 Nov 1995 15:11:00 PST |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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|
`----------------------------------------------'
|
|
|