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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6bccf7d57f63267 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!news2.arglkargh.de!news.mixmin.net!proxad.net!feeder1-2.proxad.net!cleanfeed3-b.proxad.net!nnrp20-1.free.fr!not-for-mail Return-Path: X-Virus-Scanned: amavisd-new at ada-france.org Date: Thu, 16 Aug 2007 07:17:41 +0200 From: "Grein, Christoph (Fa. ESG)" Subject: AW: Tasking problem (delay) In-reply-to: <1187197490.377548.41000@b79g2000hse.googlegroups.com> To: comp.lang.ada@ada-france.org MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.3790.1830 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-class: urn:content-classes:message Importance: normal Priority: normal Thread-topic: Tasking problem (delay) Thread-index: AcffXyIQ+YU04ngtQ1ip8OxR9TOrKAAZNWBg X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 16 Aug 2007 05:17:42.0182 (UTC) FILETIME=[C5676460:01C7DFC4] X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.9rc1 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.ada Message-ID: X-Leafnode-NNTP-Posting-Host: 88.191.17.134 Organization: Guest of ProXad - France NNTP-Posting-Date: 16 Aug 2007 07:20:00 MEST NNTP-Posting-Host: 88.191.14.223 X-Trace: 1187241600 news-2.free.fr 408 88.191.14.223:43576 X-Complaints-To: abuse@proxad.net Xref: g2news2.google.com comp.lang.ada:1457 Date: 2007-08-16T07:20:00+02:00 WD_Delay: Duaration := 1000.0; -- so do not trigger on start Since this is not a "shared variable", a task may keep a copy in its local stack. Ada 83 had a pragma Shared to prevent this. Current Ada has the pragmas Atomic and Volatile. Yet I recomment Jeffrey's solution to using volatile globals. Eurocopter Deutschland GmbH Sitz der Gesellschaft/Registered Office: Donauwoerth Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508 Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz Bertling Geschaeftsfuehrung/Board of Management: Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt CONFIDENTIALITY NOTICE This communication and the information it contains is intended for the addressee(s) named above and for no other persons or organizations. It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful. If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication. Thank you very much. It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.