File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -454,7 +454,7 @@ function serialize(s::AbstractSerializer, S::SharedArray)
454
454
for n in fieldnames (SharedArray)
455
455
if n in [:s , :pidx , :loc_subarr_1d ]
456
456
writetag (s. io, UNDEFREF_TAG)
457
- elseif n == :refs
457
+ elseif n === :refs
458
458
v = getfield (S, n)
459
459
if isa (v[1 ], Future)
460
460
# convert to ids to avoid distributed GC overhead
@@ -612,9 +612,9 @@ function print_shmem_limits(slen)
612
612
pfx = " kernel"
613
613
elseif Sys. isapple ()
614
614
pfx = " kern.sysv"
615
- elseif Sys. KERNEL == :FreeBSD || Sys. KERNEL == :DragonFly
615
+ elseif Sys. KERNEL === :FreeBSD || Sys. KERNEL = == :DragonFly
616
616
pfx = " kern.ipc"
617
- elseif Sys. KERNEL == :OpenBSD
617
+ elseif Sys. KERNEL === :OpenBSD
618
618
pfx = " kern.shminfo"
619
619
else
620
620
# seems NetBSD does not have *.shmall
You can’t perform that action at this time.
0 commit comments