From: Joel VanderWerf Date: 2007-06-08T03:35:36+09:00 Subject: Re: raise problem in Thread Joel VanderWerf wrote: > If you want to send commands to a thread and have them executed _by_ the > thread, you might want to set up a Queue that it reads. A queue is also much safer than Thread.raise, as was discussed on ruby-talk in the last few months, because raise can interrupt an ensure clause and result in cleanup not happening. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407