Subject: RE: SDL-News: Pid values and physical postion
sriram.jatla#telelogic.com
Date: Tue Dec 31 2002 - 07:09:45 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 sriram.jatla#telelogic.com to sdlnews -----
Adding to it would be to use an "Observer" process who monitors the
instantiations of the types and sends the Pid's to the environment (
OS/process.....). So, from outside you would always know which instance
either at static/dynamic runtime has what PID. Plus to know the
communication between instances, it would be important to send and receive
messages with the PID of the instance as a parameter and this calls for
precise implementation in the SDLs
Best Regards
Sriram
-----Original Message-----
From: Y Giridhar Appaji Nag [mailto:Giridhar.Nag#ubinetics.co.in]
Sent: Tuesday, December 31, 2002 12:30 PM
To: 'KEMoss6#aol.com'
Cc: sdlnews#sdl-forum.org
Subject: RE: SDL-news: Pid values and physical postion
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> or (iff this does not answer your question) email: owner-sdlnews#sdl-forum.org --End text from sriram.jatla#telelogic.com 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