JDK-8057585 UART: The bit flags used for notification status are not set/reset properly
Jen Dority
jen.dority at oracle.com
Fri Sep 5 14:59:02 UTC 2014
OK, thanks for the clarification.
The changes look good.
Jen
On 9/5/2014 10:57 AM, alexey karaksin wrote:
> Hi Jen,
>
> SERIAL_IN_AVAILABLE and SERIAL_IN_OVERRUN are reset in
> javacall_uart_read_start.
>
> SERIAL_IN_AVAILABLE sends once when new byte came. Java implementation
> should react on the event by calling read0().
> to protect the java event queue, the javacall layer stops send
> SERIAL_IN_AVAILABLE till the java implementation react on the previous
> one.
>
> the same with SERIAL_IN_OVERRUN.
>
> Alexey.
>
> On 05.09.2014 18:44, Jen Dority wrote:
>> Hi Alexey,
>>
>> I don't see where SERIAL_IN_AVAILABLE and SERIAL_IN_OVERRUN are
>> reset. Are these events never sent?
>>
>> Jen
>>
>>
>> On 9/4/2014 1:20 PM, alexey karaksin wrote:
>>> issue: https://bugs.openjdk.java.net/browse/JDK-8057585
>>> webrev: http://cr.openjdk.java.net/~alkonsta/8057585/
>>>
>>> Hi All,
>>>
>>> Please review the changes made in order to fix the glitch with bit
>>> operations for set/reset event notified flag.
>>>
>>>
>>> Regards,
>>> Alexey
>>
>
More information about the dio-dev
mailing list