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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,350aad0f4c973ca7,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-11 16:32:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!wanadoo.fr!not-for-mail From: "Meresup" Newsgroups: comp.lang.ada Subject: Timeout or agreement Date: Tue, 12 Mar 2002 01:32:19 +0100 Organization: Wanadoo, l'internet avec France Telecom Message-ID: NNTP-Posting-Host: atoulouse-104-1-5-16.abo.wanadoo.fr X-Trace: wanadoo.fr 1015893141 6504 80.14.103.16 (12 Mar 2002 00:32:21 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 12 Mar 2002 00:32:21 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.lang.ada:21089 Date: 2002-03-12T00:32:21+00:00 List-Id: My problem is to wait for the agreement of a sub routine or raise an response_error exception on timeout. It's so easy to do it with logical programming that I don't see the way to do it in a sequential programm. Can u help? Explanation : I send a data to serial port I'd like to wait for the OK flag of the called procedure or a timeout. What could be the correct structure????????