RE: SDL-News: communication between procedures


Subject: RE: SDL-News: communication between procedures
From: Y Giridhar Appaji Nag (Giridhar.Nag#ubinetics.co.in)
Date: Mon Nov 26 2001 - 06:37:23 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,

> can a procedure, that belongs to the process A, call the
> procedures that belongs to the process B?,

If you want to call the same proc in two different processes,
then you'd rather define the procedure in a SDL package, "use"
the package and call the procedure it in Process A and B.

>
> is it posible call directly to the other procedure or is
> better with signals or messages (state machine) ?

I do not understand your requirement here. You could be a little
more specific as to what you want to acheive. In SDL, a procedure
can be used for doing a lot of things. Infact they can also have
states (which means that you can send signals to that state m/c,
have tasks in it, return variables etc.). On the other hand using
a signal is probably the simplest way to communicate between two
processes (There are several other ways also).

IIRR, you were using Telelogic Tau (from ur prev mail), If the
idea is to use the C micro code generator for your system then
there are a few restrictions (like no states in procedures etc.)

I am not sure if this is even a wee bit close to what you wanted
to know, but precise info on your problem will get you more help.

-rgds,
Giridhar

********************************************************************** The information contained in this email and any attachments is likely to be confidential and legally privileged, and is for the intended recipient named above only. Any copying, dissemination, disclosure of or use of this email or its attachments unless authorised by us is prohibited, except that you may forward this email and/or attachments to a third party on a strict "need to know" basis.

If you have received this email in error, please notify us immediately by replying to the email or by calling +91-80-2297030. Please then delete this email and any full or partial copies of it.

You as the intended recipient must be aware and accept that emailis not a totally secure communications medium.

Although we have taken all reasonable steps to make sure this email and any attachments are free from viruses, we do not (to the extent permitted by law) accept any liability whatsoever for any virus infection and/or compromise of security caused by this email and any attachment.

No contract may be formed or documents served by you on or with us by this email or any attachments unless expressly agreed otherwise by us.

Any views expressed in this email or attachments by an individual are not necessarily those of UbiNetics India (Private) Limited.

**********************************************************************

--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