Shared and race conditions

Steven Schveighoffer schveiguy at yahoo.com
Wed Nov 29 17:00:31 UTC 2017


On 11/29/17 11:51 AM, Michael wrote:
> On Wednesday, 29 November 2017 at 16:33:50 UTC, Steven Schveighoffer wrote:
>> On 11/29/17 11:13 AM, Wanderer wrote:
>>> [...]
>>
>> [snip]
>>
>>> [...]
>>
>> Using the compiler switch -vcg-ast, I see no synchronization of these 
>> methods.
>>
>> [...]
> 
> Any idea what has changed in DMD-nightly to retain the correct ordering 
> of IDs?

No idea. Perhaps it was another factor, as machine busyness could affect 
the ordering.

The ordering of when the ids are fetched is pretty much the same (as 
long as no race has happened). It's really the printing of the ids that 
might be affected.

-Steve


More information about the Digitalmars-d-learn mailing list