changeset 169:6f4fbf4511c5

8080946: UART async read can be blocked unexpectedly Summary: Sync write0 is replaced with async wersion Reviewed-by: snazarki Contributed-by: jin-hwan.yu@oracle.com
author snazarki
date Fri, 22 May 2015 17:46:14 +0300
parents 808c0befc3bd
children 5cd6e5117297
files src/share/classes/com/oracle/dio/uart/impl/UARTImpl.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/oracle/dio/uart/impl/UARTImpl.java	Thu May 21 19:00:33 2015 +0300
+++ b/src/share/classes/com/oracle/dio/uart/impl/UARTImpl.java	Fri May 22 17:46:14 2015 +0300
@@ -309,7 +309,7 @@
                     }//end of else 1 buffer
                 }else{ //buffer has remaining, keep writing
                     if(isWriting){
-                        write0(buffer);
+                        writeAsynch0(buffer);
                     }
                 }
             }//if (outRoundListener != null)