RE: SDL-News: Pid values and physical postion


Subject: RE: SDL-News: Pid values and physical postion
From: Y Giridhar Appaji Nag (Giridhar.Nag#ubinetics.co.in)
Date: Tue Dec 31 2002 - 07:00:14 GMT


Become an SDL Forum Society member <http://www.sdl-forum.org/Society/members.htm>
The originator of this message is responsible for its content.
-----From Y Giridhar Appaji Nag <Giridhar.Nag#ubinetics.co.in> to sdlnews -----

Hi,

KEMoss6#aol.com <mailto:KEMoss6#aol.com> wrote:
>
> I can build an array of the Pid values on initialisation, Pid =
> sender. The two objects that swop initialisation can then send
> messages at any other time and know which object will receive them.

That sounds ok to me.

> I
> as an observer don't necessarily know which objects are interchanging
> messages.

In case you do not need to know which objects are exchanging these
signals, this is ok too.

> For instance if I have a number of objects derived from a type how
> can I physically say which object has which Pid value? I'm outside
> the model but I want to be able specify in the model which objects
> have particular Pid values.

By being "outside the model" ("an observer"), do you mean to say that
you are a part of the environment? which would be external to the SDL
system?.

In this case, if you still want to know the PIDs of the processes that
are internal to the system, you should communicate them to the observer
or the environment. Note that this is no different from any other normal
communication between two systems. In theory, you could consider the
observer/environment as just another SDL system.

Hope this helps.

-rgds,
Giridhar

--
Y Giridhar Appaji Nag          Giridhar.Nag[#t]ubinetics(.)co.in

...And don't EVER make the mistake that you can design something better than what you get from ruthless massively parallel trial- and-error with a feedback cycle. That's giving your intelligence _much_ too much credit. - Linus

an individual are not necessarily those of UbiNetics --End text from Y Giridhar Appaji Nag <Giridhar.Nag#ubinetics.co.in> to sdlnews --- For extra SDL Forum Society benefits join at <http://www.sdl-forum.org/Society/members.htm>



This archive was generated by hypermail 2a23 : Thu May 09 2013 - 16:05:49 GMT