Trying to sort shared data with a predicate causes 'unable to format shared objects'

George Sapkin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 17 11:17:16 PDT 2014


On Tuesday, 17 June 2014 at 17:18:36 UTC, Ali Çehreli wrote:
> Shared data can be accessed by more than one thread. Unless it 
> is locked, other threads may see the array in an inconsistent 
> state.
>
> Ali

But that's a local copy of it, no? If it's not, will making a 
local copy solve this?
The original question still stands: how can I resolve this in 
2.065? Thanks.


More information about the Digitalmars-d-learn mailing list