comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: ANN: Simple components for Ada v3.0
Date: Sun, 11 May 2008 16:42:00 +0200
Date: 2008-05-11T16:42:02+02:00	[thread overview]
Message-ID: <loe8o26m4cxt.nd3rc13uipca$.dlg@40tude.net> (raw)

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



             reply	other threads:[~2008-05-11 14:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-11 14:42 Dmitry A. Kazakov [this message]
2008-05-11 20:09 ` ANN: Simple components for Ada v3.0 John McCabe
2008-05-12  8:16   ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox