Hi Hans,
Hans-Christoph Steiner wrote:
I have incorporated the "OVERLAPPED" asynchronous mode code for Windows from Piotr Majdak in the [comport], and now it crashes pretty
regularly. I just committed the comport-stress-test.pd, which makes Pd crash within a couple minutes. It seems to be caused by transferring a lot of data from Pd to the serial port. FYI: I am using an Arduino to test.
We get a lot of data from serial port to pd and for this direction [comport] works in the asynchronous mode. In the transmitting mode, we send a few bytes only, so we did not any tests...
I don't remember if I've changed anything in the transmitting section of the code - I'll have a look ASAP.
Can you send me your stress-the-comport patch per email? I'll give it a try...
br, Piotr