From: Yukihiro Matsumoto Date: 2004-09-28T12:04:11+09:00 Subject: Re: safety of timeout() Hi, In message "Re: safety of timeout()" on Tue, 28 Sep 2004 10:41:57 +0900, leon breedt writes: |like when a signal is received from OS while inside blocking code |wrapped by timeout(). Signal is received immediately (at the latest safe point), and is delivered to the main thread. |how does the scope of trap() work for these situations? does trap() |work at the level of the real process? or current virtual thread? As stated above, trap works in the main thread. matz.