I think you copy pasted the same thing.
Anyway: https://github.com/JuliaLang/julia/pull/12964
On Friday, September 18, 2015 at 1:05:57 PM UTC+2, Nils Gudat wrote:
>
> When working with multiple SharedArrays, I used to be able to do:
>
> julia> x = SharedArray(Float64,1)
> 1-element SharedArray{Float64,1}:
> 0.0
>
> julia> similar(x)
> 1-element SharedArray{Float64,1}:
> 0.0
>
> When I got to the office this morning, I was close to a heart attack, as
> all my model outputs that were computed overnight made no sense whatsoever,
> and no git revert was able to restore them. I finally figured out that the
> reason was an update to 0.4.0-rc1, wher I'm getting:
>
> julia> x = SharedArray(Float64,1)
> 1-element SharedArray{Float64,1}:
> 0.0
>
> julia> similar(x)
> 1-element SharedArray{Float64,1}:
> 0.0
>
> Is this expected/intended?
>
> (And, while I'm at it, bonus question for SharedArray experts: is the pids
> keyword necessary when creating the array? I can't figure out from
> sharedarray.jl what happens when it is left out.)
>