DataLine has a different behavior on Linux and Windows. I do not know, it it a bug or feature... may be documentation is not a full?<br><br>So, steps to reproduce:<br>1. Create and open data line and start() on it.<br>2. Write data to line in a separate thread.<br>
3. Stop line with a stop() method but do not stop thread from (2).<br><br>On Windows:<br>Thread that writes data to data line will fill line&#39;s buffer and then blocks (sleeps) when buffer reaches full.<br><br>On Linux:<br>
Thread that writes data to line will spin around method write and eat CPU, because stopped line can&#39;t be written and write method returns 0  (no bytes written). This happens before line&#39;s buffer reaches full (available() &gt; 0).<br>
<br>Of course workaround present, but this behavior looks strange...<br>