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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,4b6fdc222af60b8b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!news.mixmin.net!news.newsland.it!not-for-mail From: ff5@google.nospam.com (Lisa Ansellotti) Newsgroups: comp.lang.ada Subject: Re: curses and multithreading Date: Wed, 05 Aug 2009 19:20:04 +0200 Organization: http://www.newsland.it/ Message-ID: References: <57fb5h.i45.ln@hunter.axlog.fr> NNTP-Posting-Host: host24-3-static.30-87-b.business.telecomitalia.it Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.newsland.it 1249492804 24603 212.239.22.167 (5 Aug 2009 17:20:04 GMT) X-Complaints-To: abuse@newsland.it NNTP-Posting-Date: Wed, 5 Aug 2009 17:20:04 +0000 (UTC) X-HTTP-Posting-Host: host24-3-static.30-87-b.business.telecomitalia.it User-Agent: www.newsland.it X-NL-St: Trp.09Aug05@st.mynl.it X-NL-Posting-Ip: 87.30.3.24 X-NL-Posting-Site: www.newsland.it Xref: g2news2.google.com comp.lang.ada:7601 Date: 2009-08-05T19:20:04+02:00 List-Id: > Here, your loop is *inside* the rendezvous. It means that the caller > (main) will not proceed until the loop is over. You probably meant: > task body DbCheck is > begin > accept StartRun; > -- Main returns here > While ContinueRunning=true loop > delay 20.0; > WriteDbMessages; > end loop; > > end DbCheck; ok, thanks! now it works, but the cursor is "jumping" between the two windows :) > Please always provide the *exact code* that shows the problem, to allow > us to be maximally helpful. that was the right code, but i cutted the useless code from my program, and i made a mistake. thanks a lot! -- questo articolo e` stato inviato via web dal servizio gratuito http://www.newsland.it/news segnala gli abusi ad abuse@newsland.it