Re:Julia Package Ecosystem Pulse
by ihnorton on Friday November 21, 2014 @03:24PM
(#8643207)
In this case, you could either use the Python multiprocessing module, or start the python listener from another Julia worker as suggested in the SO answer. I just tried the latter and it works fine: you need to do `@everywhere using PyCall`, change the `@async` to `@spawnat 2 begin ...`, and put the `@pyimport` inside the spawnat block). See: https://gist.github.com/ihnorton/2d22639230d4bbe30639
(alternatively, you might be able to use Python's asynccore module to create an asynchronous listener and yield back to Julia)
(alternatively, you might be able to use Python's asynccore module to create an asynchronous listener and yield back to Julia)