From: Roger Pack Date: 2009-08-09T03:14:39+09:00 Subject: Re: ruby thread is buggy while using serialport > "before"=> # > < blocked> My guess is that serialport library has no way of knowing if it has any data incoming [it has to poll until data arrives?] If that's the case, then you might could use fork plus some of the excellent fork libraries available http://allgems.ruby-forum.com/gems?search=fork or you'd need to "fix" serialport so that it's 1.9 compatible, and then wrap its read call in an rb_thread_blocking_region, so that it allows other threads to operate. GL. -r -- Posted via http://www.ruby-forum.com/.