dabeaz / curio

Good Curio!
Other
4.02k stars 241 forks source link

UniversalQueue `run_in_process` support #216

Closed jkbbwr closed 5 years ago

jkbbwr commented 7 years ago

Is it possible to make a curio queue that behaves nicely with run in process?

dabeaz commented 7 years ago

This is an interesting question. Short answer, I'm not 100% sure how I'd tackle it right away. Maybe it's possible to use a multiprocessing.Queue for part of it? Let me ponder it.

dabeaz commented 5 years ago

Closing this for now. The run_in_process() is really aimed at more CPU-intensive kinds of tasks. If true interprocess communication is required, I'd look for a different mechanism. Maybe Curio Channel objects.