From: SASADA Koichi Date: 2012-09-22T14:24:17+09:00 Subject: [ruby-core:47647] Re: [ruby-trunk - Bug #6822] Race Condition with Fiber and Process (2012/09/21 22:14), MartinBosslet (Martin Bosslet) wrote: > > Issue #6822 has been updated by MartinBosslet (Martin Bosslet). > > > ko1 (Koichi Sasada) wrote: >> In general, you can sync with variables because Fibers are not changed automatically. In other words, you can completely control Fiber transition. > > Thanks for looking into this. With your input, I found a way to safely synchronize the exiting childs by using Mutex#try_lock. Thank you! No. You don't need Mutex at all. You only need to use variables (such as global variables). -- // SASADA Koichi at atdot dot net