dabeaz / curio

Good Curio!
Other
4.04k stars 244 forks source link

fork to spawn #296

Closed nikhilro closed 5 years ago

nikhilro commented 5 years ago

Hey David (@dabeaz), a one-liner fix to spawn because process pool workers are expected to be "clean" interpreters as you mention here. We were getting unexpected behaviour with the current version using fork because the new processes would have Curio kernel running (curio.meta.curio_running() was True). Test suite seems to pass as before. Thanks!