From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.119.67 with SMTP id m43mr3898894yhh.31.1412963490760; Fri, 10 Oct 2014 10:51:30 -0700 (PDT) X-Received: by 10.182.16.161 with SMTP id h1mr10478obd.40.1412963490662; Fri, 10 Oct 2014 10:51:30 -0700 (PDT) Path: border2.nntp.dca1.giganews.com!nntp.giganews.com!s7no1780826qap.0!news-out.google.com!rp1ni26281igb.0!nntp.google.com!uq10no8094128igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 10 Oct 2014 10:51:30 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=130.113.46.8; posting-account=Lb5doAoAAAAWHET3z2_nBVbFSXaZQG1V NNTP-Posting-Host: 130.113.46.8 References: <5c3b6561-8a9e-4c82-b7f9-7aba466bac12@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5633f27b-ffdd-47f3-a32b-9992d67ff135@googlegroups.com> Subject: Re: Broadcasting message to OTHER NODES From: Stribor40 Injection-Date: Fri, 10 Oct 2014 17:51:30 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: number.nntp.giganews.com comp.lang.ada:189628 Date: 2014-10-10T10:51:30-07:00 List-Id: On Friday, 10 October 2014 13:42:58 UTC-4, Niklas Holsti wrote: > On 14-10-10 19:23 , Stribor40 wrote: >=20 > > I have 6 nodes and each of those nodes have 2 partners. So for example= ... >=20 > > =20 >=20 > > task myNode is >=20 > > entry TurnOff; >=20 > > entry LetMeKnow; >=20 > > end myNode; >=20 > > =20 >=20 > > I am trying to wrap my head around something like this ....so one of th= ose nodes can send signal to those 2 partners to turn off the lights=20 >=20 > > and let me know about it which is fine...The problem is that now those = 2 partners also have 2 partners that need to be let known to turn the light= s >=20 > > off and let me know about it. >=20 > > Can someone please point me or suggest how to go about this please.=20 >=20 >=20 >=20 > Please describe your goals more fully. What is the overall application >=20 > or program that you would like to create? What are these "nodes"? Why do >=20 > they send signals to each other? What should be the over-all effect of >=20 > these signals? Where does the first signal originate? >=20 >=20 >=20 > --=20 >=20 > Niklas Holsti >=20 > Tidorum Ltd >=20 > niklas holsti tidorum fi >=20 > . @ . first signal would go from main(which is i guess 7th task). So basically ma= in tasks will call task1 and tell it to turn light off and then if wait at = let me know entry.=20 Now task1 will tell left and right partner to turn lights off and also wait= at let me know entry. I am trying implement cascading effect like idea or = propagating original turn me on signal that started on main (who is current= ly waiting at let me know entry) all the way to last node. When I say node = i meant that each node is a task itself