From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: is there a version of unix written in Ada Date: Thu, 1 Oct 2020 14:52:35 +0300 Organization: Tidorum Ltd Message-ID: References: <00cd3aaa-d518-43a2-b321-58d6fae70aebo@googlegroups.com> <57eb7a65-51ea-4624-b9dc-9c4dda0fee59n@googlegroups.com> <5f70fd3b$0$13541$426a74cc@news.free.fr> <87wo0d3iac.fsf@nightsong.com> <87sgb02l7b.fsf@nightsong.com> <875z7vyy1u.fsf@nightsong.com> <87wo0bkns3.fsf@nightsong.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net sOAVnSl2UCQH0aORKenJ7Q68m8Uw9QxbTn1roDl4GA1+ze8Ren Cancel-Lock: sha1:vOIjCf3ej5lgJqkEyOBOSTtgVss= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 In-Reply-To: Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:60359 List-Id: On 2020-10-01 14:38, Niklas Holsti wrote: Whoops, in the below I should have said "FIFO" instead of "LIFO". Brain fart. > I haven't looked at the Debug package, but I would have suggested a > logging facility that consists of: > > 1. A LIFO queue of log entries implemented in a protected object of > highest priority. The object has a procedure "Write_Log_Entry". > > 2. A task that empties the LIFO queue into a log file. The task calls an > entry of the LIFO protected object to get a log entry from the queue, > but executes the file-writing operations in task context, not in a > protected operation.