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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!newsfeed.fsmpi.rwth-aachen.de!reality.xs3.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Termination of periodic tasks Date: Tue, 17 Jun 2014 14:02:52 +0200 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: <87k38fwxoz.fsf@adaheads.sparre-andersen.dk> References: NNTP-Posting-Host: monowall.adaheads.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: loke.gir.dk 1403006572 23813 86.48.41.195 (17 Jun 2014 12:02:52 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Tue, 17 Jun 2014 12:02:52 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:OlKnNC531fc+s48dsyF1PAqMzqQ= X-Original-Bytes: 2013 Xref: number.nntp.dca.giganews.com comp.lang.ada:187015 Date: 2014-06-17T14:02:52+02:00 List-Id: Natasha Kerensikova wrote: > So let's consider instead real code that actually (more or less) > works: > https://github.com/faelys/natools/blob/trunk/src/natools-cron.ads > https://github.com/faelys/natools/blob/trunk/src/natools-cron.adb (I > whipped it together yesterday after thinking about Dmitry's > suggestion, but it's still only a rough draft, there are issues to > iron out before using it for real, like handling map key > collisions. However all comments are still welcome.) I've posted a pull request which eliminates all explicit memory management from the package. :-) ... But not solved your actual problem. :-( Greetings, Jacob -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin