Put!(remotechannel, x) causes no error but an infinite run time

help?> put!
search: put! permute! invpermute! pushfirst! permutedims! ispunct

[...]

  put!(rr::RemoteChannel, args...)

  Store a set of values to the RemoteChannel. If the channel is full,
  blocks until space is available. Return the first argument.

This is expected behavior - the channel you’ve given the RemoteChannel can only hold one item, so it blocks until the channel has space again.

1 Like