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,23ffa52608fbb144 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.211.103 with SMTP id nb7mr1248266pbc.6.1337407986551; Fri, 18 May 2012 23:13:06 -0700 (PDT) Path: pr3ni3954pbb.0!nntp.google.com!news2.google.com!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Problem with Delay Alternative in Finalization Date: Sat, 19 May 2012 08:12:55 +0200 Organization: cbb software GmbH Message-ID: References: <6v0er7d545kvs3pr7aqe1dnrlq4mg5ldhg@4ax.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: 4RFYTQ6jM/dAKFJoI0fUkg.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-05-19T08:12:55+02:00 List-Id: On Fri, 18 May 2012 21:30:31 -0500, Tim McGuire wrote: > I am running in to a problem where a delay alternive used when in > finalization doesn't seem to be working properly. > The delay part never seems to happen. It is Program_Error to propagate an exception from Initialize, which is what I think happens when you raise Lock_Timeout_Exception. BTW, you can use task identification in order to allow reentrant locks. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de