From: gorgelo@hotmail.com
Subject: Re: Memory pools
Date: Thu, 31 May 2018 22:57:28 -0700 (PDT)
Date: 2018-05-31T22:57:28-07:00 [thread overview]
Message-ID: <ebba1d0f-c5f6-4a4d-9822-67427f89a23d@googlegroups.com> (raw)
In-Reply-To: <pepuk4$sk2$1@franka.jacob-sparre.dk>
Den fredag 1 juni 2018 kl. 00:57:10 UTC+2 skrev Randy Brukardt:
> ...
> > pragma Suppress (Tampering_Check);
> > -- Tampering checks are only for multi-task applications.
> > -- Since this application is single task we can safely
> > -- suppress tampering checks of the standard containers.
>
> This is a completely false statement. Tampering checks are designed to
> prevent problems with iterators and element access, no tasks need to be
> involved (indeed, they don't do anything in a tasking environment - such
> code is usually erroneous). For instance, without tampering checks, an
> iterator might run forever or otherwise malfunction. Similarly, for
> Update_Element and other sorts of element access.
>
> Randy.
> Simon wrote:
> Not true! Try forward looping over a Vector to find particuler members
> and deleting them in the loop.
Thanks for the correction Simon and Randy!
/Joakim
next prev parent reply other threads:[~2018-06-01 5:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-29 19:41 Memory pools John Perry
2018-05-30 8:14 ` joakimds
2018-05-31 19:15 ` gorgelo
2018-05-31 19:19 ` gorgelo
2018-05-31 19:28 ` gorgelo
2018-05-31 19:33 ` gorgelo
2018-05-31 21:03 ` Simon Wright
2018-05-31 22:56 ` Randy Brukardt
2018-06-01 5:57 ` gorgelo [this message]
2018-06-04 21:14 ` John Perry
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox