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,6da0617d8c08cbfd,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder.news-service.com!newsfeed.freenet.de!newsfeed01.chello.at!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: ANN: Simple components for Ada v3.0 Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH Date: Sun, 11 May 2008 16:42:00 +0200 Message-ID: NNTP-Posting-Date: 11 May 2008 16:42:02 CEST NNTP-Posting-Host: d635848e.newsspool3.arcor-online.net X-Trace: DXC=?kbM8WAb:BP<<0iRN7DLEQMcF=Q^Z^V3X4Fo<]lROoRQ8kF This version provides implementations of various locking primitives: - Plain events which can be signaled, reset and awaited for; - Arrays of events which can be signaled, reset and awaited in any combination of in race condition free way; - Arrays of reentrant mutexes, deadlock-free with an enforced order of locking; - Race condition free event distributing pulsed value to multiple tasks; - Reentrant mutexes; - Race condition free pulse events. The documentation provides a discussion of using protected objects in Ada. It represents a programming pattern for using entry parameter values in the barrier and shows a way of avoiding race conditions. It also includes - A solution of the problem of tasks synchronization at a check point based on sets of events; - A solution of the dining philosophers problem based on sets of mutexes. http://www.dmitry-kazakov.de/ada/components.htm -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de