From: Ashikali Ashikali Date: 2009-08-12T13:40:35+09:00 Subject: Re: ruby thread is buggy while using serialport Roger Pack wrote: > >> "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 No I am using frok only . It is working fine no problem . Also while traping simultaneous SIGCLD also it does not working properly . Please fix it and makes rubyserial compactable with thread and Traping signal . cheers, ashik ali -- Posted via http://www.ruby-forum.com/.