hparra / ruby-serialport

ruby-serialport is a Ruby library that provides a class for using RS-232 serial ports
http://rubygems.org/gems/serialport
GNU General Public License v2.0
246 stars 58 forks source link

write() is delayed on Windows #65

Open joyang6 opened 8 years ago

joyang6 commented 8 years ago

I am running my program on Windows 7 and I noticed some delay when I use the write() function. The write() function would take some time to return. This happens with Ruby 1.9.3 and 2.2, but this does not happen with Ruby 1.8.7. Also, I noticed if I have an Acrobat pdf file opened in the background, then the delay does not occur, the write() function would return immediately.