Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
おそらく私は明らかな何かを見逃しています(そしてそれは金曜日です)がos.fork()、グリーンレットでと同等のことをする方法はありますか?私は必ずしもプロセスをフォークすることを望んでいません。グリーンレットを取得して、あるコードセットを実行し、次に別のコードセットを実行することを考えていますが、スコープは独立しています(のようにos.fork())。
os.fork()
何かアイデアがありますか、それとも私は少し眠るべきですか?