From: "Bartosz DziewoƄski" Date: 2012-08-10T21:47:34+09:00 Subject: Re: Working with thread 2012/8/10 ajay paswan : > How can I ensure that the main child lives till all children finishes > their jobs and get killed? Thread#join? > Is there any way that I can invoke a function when a thread gets killed? I don't understand. Are you looking for #at_exit? -- Matma Rex