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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7897733b1978b6a4 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.35.131 with SMTP id h3mr374182pbj.1.1321549036769; Thu, 17 Nov 2011 08:57:16 -0800 (PST) Path: h5ni2042pba.0!nntp.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!news-1.dfn.de!news.dfn.de!news.uni-weimar.de!not-for-mail From: stefan-lucks@see-the.signature Newsgroups: comp.lang.ada Subject: Re: Freezing a task Date: Thu, 17 Nov 2011 17:53:46 +0100 Organization: Bauhaus-Universitaet Weimar Message-ID: References: <32992849.648.1321544004241.JavaMail.geo-discussion-forums@vbmh5> Reply-To: stefan-lucks@see-the.signature NNTP-Posting-Host: medsec1.medien.uni-weimar.de Mime-Version: 1.0 X-Trace: tigger.scc.uni-weimar.de 1321549036 6760 141.54.178.228 (17 Nov 2011 16:57:16 GMT) X-Complaints-To: news@tigger.scc.uni-weimar.de NNTP-Posting-Date: Thu, 17 Nov 2011 16:57:16 +0000 (UTC) X-X-Sender: lucks@medsec1.medien.uni-weimar.de In-Reply-To: Xref: news2.google.com comp.lang.ada:14438 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: 2011-11-17T17:53:46+01:00 List-Id: On Thu, 17 Nov 2011, Dmitry A. Kazakov wrote: > On Thu, 17 Nov 2011 07:33:24 -0800 (PST), Rego, P. wrote: > > > Is is possible to freeze a task? > > Yes, by > > 1. an entry call to another task or a protected object; > > 2. executing a select or accept statement. What do you really want? Why do you want a task to freeze? If you just want to freeze a task to ensure another more important task isn't slowed down (and unfreeze when the other task is done) a MUCH more elegant way to do this is to use task priorities. -- ---- Stefan.Lucks (at) uni-weimar.de, University of Weimar, Germany ---- ------ I love the taste of Cryptanalysis in the morning! ------