Skip to content

Commit

Permalink
fixup [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
amitmurthy committed Jul 7, 2015
1 parent 6787f16 commit bfecea1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion base/channels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function Channel(T::Type, sz::Int)
end
end

map_all_channels = Dict{Int, AbstractChannel}()
const map_all_channels = Dict{Int, AbstractChannel}()
register_channel(c::Channel) = (map_all_channels[c.cid] = c; ChannelAddr(myid(), c.cid))
create_and_register_channel(T::Type, sz::Int) = register_channel(Channel(T, sz))

Expand Down
4 changes: 2 additions & 2 deletions base/multi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ type ProcessGroup
# global references
refs::Dict

ProcessGroup(w::Array{Any,1}) = new("pg-default", w, Dict(), Dict())
ProcessGroup(w::Array{Any,1}) = new("pg-default", w, Dict())
end
const PGRP = ProcessGroup([])

Expand Down Expand Up @@ -1213,7 +1213,7 @@ end
# Called on the first worker on a remote host. Used to optimize launching
# of multiple workers on a remote host (to leverage multi-core)

additional_io_objs=Dict()
const additional_io_objs=Dict()
function launch_additional(np::Integer, cmd::Cmd)
io_objs = cell(np)
addresses = cell(np)
Expand Down

0 comments on commit bfecea1

Please sign in to comment.