thread::attach

thread::attach channel

Makes the channel channel available in the current thread (or, strictly, it's main interpreter). The channel with that name must exist in some thread.