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: 103376,5dc0152fc17e5f2c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: Deadlock resolution Date: Tue, 27 Jul 2004 16:33:17 +0100 Message-ID: References: <2mjr94Fnc903U1@uni-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de LCQFrW1WKM6tdGqXlDg3AgUd7F6XD5Aq/kyD27QMKe2pp65vw= User-Agent: Opera M2/7.51 (Win32, build 3798) Xref: g2news1.google.com comp.lang.ada:2418 Date: 2004-07-27T16:33:17+01:00 List-Id: On Mon, 26 Jul 2004 09:48:43 +0200, Jano wrote: > Nick Roberts wrote: > >> I would appreciate brief descriptions of how deadlock >> detection and/or resolution is performed in real Ada >> programs (where it is performed in Ada). > > In my case, I always try to play the safe way, and I tend to use the > basic techniques I was taught when learning RT programming. Tasks share > data via monitors, and I don't use synchronous rendez-vous except where > this is a true need... > > In short, I prefer to not let deadlock to be a possibility. Okay, but in those cases where you do need to use rendezvouses (where deadlock might be a possibility)? -- Many thanks, Nick Roberts