From: Yukihiro Matsumoto Date: 2008-03-15T11:29:30+09:00 Subject: Re: Thread#raise, Thread#kill, and timeout.rb are unsafe Hi, In message "Re: Thread#raise, Thread#kill, and timeout.rb are unsafe" on Sat, 15 Mar 2008 02:48:33 +0900, Tanaka Akira writes: |But Charles's "safe" is for application. acquired lock |should be released later, etc. I know. |Your "safe" is not enough for application. | |We need a mechanism to delay asynchronous exceptions until a |safe point. Hmm. |I think the safe points declaration mechanism should able to |define safe points for each exception and easy to handle |blocking operations without race conditions. What should safe point declaration mechanism look like? matz.