comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: for X'Address use - and Volatile
Date: Wed, 31 Aug 2016 07:00:18 -0700 (PDT)
Date: 2016-08-31T07:00:18-07:00	[thread overview]
Message-ID: <6dd0ee20-5e30-4eab-bc88-78cd949d7363@googlegroups.com> (raw)
In-Reply-To: <7595494c-3398-4fd9-ab4b-80a79383ae33@googlegroups.com>

If you declare a task, there are always two tasks: your declared one and the environment task (your main subprogram). Shared variables if not volatile are guaranteed to be updated only at task synchronization points.
Thus, volatile is not superfluous.

  reply	other threads:[~2016-08-31 14:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-31 13:01 for X'Address use - and Volatile Maciej Sobczak
2016-08-31 14:00 ` AdaMagica [this message]
2016-08-31 19:36 ` Randy Brukardt
2016-08-31 22:17   ` Maciej Sobczak
2016-09-01  1:22     ` Randy Brukardt
2016-09-01  5:41     ` Simon Wright
2016-09-01 14:24       ` Maciej Sobczak
2016-09-01  8:12   ` J-P. Rosen
replies disabled

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