comp.lang.ada
 help / color / mirror / Atom feed
* ANN: Simple Components v3.1
@ 2008-06-29 19:15 Dmitry A. Kazakov
  2008-06-30  5:31 ` christoph.grein
  0 siblings, 1 reply; 5+ messages in thread
From: Dmitry A. Kazakov @ 2008-06-29 19:15 UTC (permalink / raw)



   http://www.dmitry-kazakov.de/ada/components.htm

This version is compatible with new GNAT GPL 2008.

Other new things are:

- Lock-free FIFO of indefinite objects;
- For signaled FIFOs waiting for not full or not empty queue can be now
canceled from outside;
- A test added for a GNAT GPL 2008 bug.

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ANN: Simple Components v3.1
  2008-06-29 19:15 ANN: Simple Components v3.1 Dmitry A. Kazakov
@ 2008-06-30  5:31 ` christoph.grein
  2008-06-30  7:36   ` Dmitry A. Kazakov
  0 siblings, 1 reply; 5+ messages in thread
From: christoph.grein @ 2008-06-30  5:31 UTC (permalink / raw)


On 29 Jun., 21:15, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de>
wrote:
>    http://www.dmitry-kazakov.de/ada/components.htm
> ...
> - A test added for a GNAT GPL 2008 bug.

It would be interesting which bug you found.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ANN: Simple Components v3.1
  2008-06-30  5:31 ` christoph.grein
@ 2008-06-30  7:36   ` Dmitry A. Kazakov
  2008-06-30  8:13     ` christoph.grein
  0 siblings, 1 reply; 5+ messages in thread
From: Dmitry A. Kazakov @ 2008-06-30  7:36 UTC (permalink / raw)


On Sun, 29 Jun 2008 22:31:07 -0700 (PDT), christoph.grein@eurocopter.com
wrote:

> On 29 Jun., 21:15, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de>
> wrote:
>> � �http://www.dmitry-kazakov.de/ada/components.htm
>> ...
>> - A test added for a GNAT GPL 2008 bug.
> 
> It would be interesting which bug you found.

The bug is in initialization/finalization of controlled objects. It appears
when a record type is initialized by an aggregate. The record type has a
controlled component and a discriminant. The controlled component in the
aggregate is produced by a function call. The result would be missing
component finalization when the function result is copied.

This constellation is not very common, so it is not that catastrophic. My
guess is that the bug is a side effect of freshly introduced limited
aggregates/return functions. So I didn't report it separately. I already
reported another bug of premature finalization to AdaCore. Both I believe,
is just one issue.

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ANN: Simple Components v3.1
  2008-06-30  7:36   ` Dmitry A. Kazakov
@ 2008-06-30  8:13     ` christoph.grein
  2008-06-30  8:33       ` Dmitry A. Kazakov
  0 siblings, 1 reply; 5+ messages in thread
From: christoph.grein @ 2008-06-30  8:13 UTC (permalink / raw)


> This constellation is not very common, so it is not that catastrophic. My
> guess is that the bug is a side effect of freshly introduced limited
> aggregates/return functions. So I didn't report it separately.

You should report it as a follow-on. My experience is that sometimes
in such cases, only the part that you reported is corrected and the
rest (which you thought is the same problem) remains.

(And if you're not a supported customer, the defect will stay
therefore for another year possibly until you find it in the next
GPLed version.)



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ANN: Simple Components v3.1
  2008-06-30  8:13     ` christoph.grein
@ 2008-06-30  8:33       ` Dmitry A. Kazakov
  0 siblings, 0 replies; 5+ messages in thread
From: Dmitry A. Kazakov @ 2008-06-30  8:33 UTC (permalink / raw)


On Mon, 30 Jun 2008 01:13:23 -0700 (PDT), christoph.grein@eurocopter.com
wrote:

>> This constellation is not very common, so it is not that catastrophic. My
>> guess is that the bug is a side effect of freshly introduced limited
>> aggregates/return functions. So I didn't report it separately.
> 
> You should report it as a follow-on. My experience is that sometimes
> in such cases, only the part that you reported is corrected and the
> rest (which you thought is the same problem) remains.
>
> (And if you're not a supported customer, the defect will stay
> therefore for another year possibly until you find it in the next
> GPLed version.)

(I am a lucky supported customer.) Presently, I am waiting for a feedback
from the GNAT 6.2 wavefront team. Then I certainly will test both.

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-30  8:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-29 19:15 ANN: Simple Components v3.1 Dmitry A. Kazakov
2008-06-30  5:31 ` christoph.grein
2008-06-30  7:36   ` Dmitry A. Kazakov
2008-06-30  8:13     ` christoph.grein
2008-06-30  8:33       ` Dmitry A. Kazakov

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