comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Task safe containers? Help needed.
Date: Sun, 8 Oct 2017 08:42:46 +0300
Date: 2017-10-08T08:42:46+03:00	[thread overview]
Message-ID: <f3ts6lFfg7jU1@mid.individual.net> (raw)
In-Reply-To: <a153a7e8-4108-4c81-b211-a59c380113d5@googlegroups.com>

On 17-10-08 07:27 , reinert wrote:
> Hi,
>
> if I want to access a container (Vector, Set, Map) by several tasks
> (updating and reading) - (hopefully) without loosing functionality of
> the container.
>
> What should I do?
>
> reinert

Wrap the container in a protected object so that all container
operations are executed by one task at a time.

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
       .      @       .

  reply	other threads:[~2017-10-08  5:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-08  4:27 Task safe containers? Help needed reinert
2017-10-08  5:42 ` Niklas Holsti [this message]
2017-10-08  6:57 ` Dmitry A. Kazakov
2017-10-08 15:10   ` reinert
2017-10-08 16:05     ` Dmitry A. Kazakov
2017-10-09  9:18       ` reinert
2017-10-09 21:54   ` Randy Brukardt
2017-10-10  7:25     ` Dmitry A. Kazakov
2017-10-10 19:48       ` Randy Brukardt
replies disabled

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