comp.lang.ada
 help / color / mirror / Atom feed
From: "Dr. Adrian Wrigley" <amtw@linuxchip.demon.co.uk.uk.uk>
Subject: Re: Distributed Ada, robustness etc.
Date: Mon, 29 May 2006 00:55:11 GMT
Date: 2006-05-29T00:55:11+00:00	[thread overview]
Message-ID: <pan.2006.05.29.00.56.07.93515@linuxchip.demon.co.uk.uk.uk> (raw)
In-Reply-To: pan.2006.05.25.01.10.38.796525@linuxchip.demon.co.uk.uk.uk

On Thu, 25 May 2006 01:12:08 +0000, Dr. Adrian Wrigley wrote:

> <snip>
> 
> Hmm.  Seems to have gone quiet round here!

perhaps it's the long weekend...
(...continuing the monolog)

Anyway, it's all working nicely.  But for one small snag:

The client partitions usually complete when there are no
more active processes in the partition.  I used:

  for myclient'Termination use Local_Termination;

so that clients don't have to wait for the whole program to
terminate.  So far, so good.

But, on the rare occasions when a client call to the
"nameserver" RCI causes a new server partition to be created
(using a system call to start the code), the client
doesn't terminate until after the new partition terminates.
This is a big nuisance.

If I start the server in another terminal window, the client
terminates while the server continues.  If the nameserver
starts the server from a client call, the client waits
for the server to terminate.

I don't really understand the mechanism for this behavior,
nor how to solve it.  Does the client partition track what OS
processes need to complete before exiting? How?  The client
waits, even if the server invocation is backgrounded (with "&").
I think using the "screen" untility might help, but I couldn't get
that didn't work properly either :(
--
Adrian





  parent reply	other threads:[~2006-05-29  0:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-23 12:14 Distributed Ada, robustness etc Dr. Adrian Wrigley
2006-05-25  1:12 ` Dr. Adrian Wrigley
2006-05-25 10:34   ` Dmitry A. Kazakov
2006-05-29  0:55   ` Dr. Adrian Wrigley [this message]
2006-05-30 15:11     ` Dr. Adrian Wrigley
2006-05-31  5:49       ` Ludovic Brenta
2006-05-31 12:40         ` Dr. Adrian Wrigley
2006-05-31 13:21           ` Jean-Pierre Rosen
2006-05-31 14:38             ` Dr. Adrian Wrigley
2006-05-31 15:38               ` Jean-Pierre Rosen
2006-06-02 10:27           ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox