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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e03cd3bd1ca2b8f0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-10 09:20:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!peer2.news.opaltelecom.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: "Fisher" Newsgroups: comp.lang.ada Subject: Re: help plz. Date: Tue, 10 Jun 2003 18:20:48 +0200 Organization: tp.internet - http://www.tpi.pl/ Message-ID: References: NNTP-Posting-Host: pg176.kalisz.sdi.tpnet.pl X-Trace: atlantis.news.tpi.pl 1055262051 2228 217.98.185.176 (10 Jun 2003 16:20:51 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Tue, 10 Jun 2003 16:20:51 +0000 (UTC) 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:38909 Date: 2003-06-10T18:20:48+02:00 List-Id: hi thanks for Your answers. I have with this Ada problem. it walks about something like this, as dynamic priorities: we have N processes (let's put 7) the attached priority becomes every of processes np. P1 has 1 ( the highest), P2 - 2, P3 - 3 itd P7 -7. processes look as follows: local section - some delay and critical section - some delay it walks about show dynamic priority use only. we have the protected object and these processes compete to access to this object to execute his critical section. if P1 competes from P2 this P1 comes in and executes critical section (because P1 has higher priority than P2). after exit from protected object P1 sets his priority on the lowest, sets his priority on 7 and the rest of processes raises, that is P2 -1 (highest), P3 -2 .... P7-6 and to the end P1 -7. however if (from start state) about entry to protected object it competes P3 and P4 ( P3 comes in) after exit from object alters the priorities of processes, but only these, which they are for him, that is P1 becomes without changes, P2 without changes, P4 -3, P5-4, P6-5,P7-6 and P3-7. I have to show this use only. Please help me if You can. My work inflicts that I haven't time for nothing besides sleep. I will be very grateful for Your help. I apologize for my English, it is not on top-level. Fisher fisher@biuroserwis-kalisz.com Poland