Invoking "remote" variables in remote computations

One way is to pass in a RemoteChannel reference to the workers, eg:

julia> r = RemoteChannel(()->Channel{Any}(nworkers()));

julia> @everywhere workers() function Atimesb(b,r)
           A = rand(2,2)
           x = A*b;
           put!(r,b)
       end

julia> @everywhere workers() Atimesb($b,$r)

# collect the results on the master
julia> result = [take!(r) for i=1:nworkers()]
2-element Array{Array{Float64,1},1}:
 [0.16141836526706888, 0.12093141352370562]
 [0.16141836526706888, 0.12093141352370562]