I've got still more information to report...
I've eliminated everything from my program except the serial sending
routine. I still get the lockups. Using Shark, I've found that
during the lockup periods there are several hundred calls to a
routine in my serial driver called "FTDIUSBSerialDriver::getUSBDevice
()". My first response would be... "Well, there you go... its a bad
serial driver.", except that it works great in RealBasic 2.5.5, so
I'm not buying that so quickly.
I do find it very weird that if I were to send the data slower, I
don't get lockups happening. Is there any chance that I might be
running into a buffer size problem on the Mac side? I've read that
the buffer size is controlled by the OS, and that it is dynamically
resized. Maybe I'm being forced to wait for a resize? Are there any
ways to pre-allocate a large serial buffer, regardless of what the OS
thinks it needs?
Regards,
Ron Benditt
Alien Apparatus Company, Inc.
http://www.alienapparatus.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>