Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Re: ANN: Simple...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 5693 of 5800
Post > Topic >>

Re: ANN: Simple components for Ada v3.0

by "Dmitry A. Kazakov" <mailbox@[EMAIL PROTECTED] > May 12, 2008 at 10:16 AM

On Sun, 11 May 2008 21:09:26 +0100, John McCabe wrote:

> "Dmitry A. Kazakov" <mailbox@[EMAIL PROTECTED]
> wrote:
> 
>>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.
> 
> Are any of these (and your earlier releases on shared objects etc)
> based on the discussions in the Burns & Wellings book?

As far as I can tell, no.

For example, they solve the dining philosophers using a butler task. The
solution based on an array of mutexes uses no extra tasks, instead,
seizing
forks is atomic. (If not, due to a programming error, an exception is
propagated when one of the philosophers starts eating. That is locking
ordering enforcing.)

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
 




 3 Posts in Topic:
ANN: Simple components for Ada v3.0
"Dmitry A. Kazakov&q  2008-05-11 16:42:00 
Re: ANN: Simple components for Ada v3.0
John McCabe <john@[EMA  2008-05-11 21:09:26 
Re: ANN: Simple components for Ada v3.0
"Dmitry A. Kazakov&q  2008-05-12 10:16:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 19:50:00 CDT 2008.