RFR: JDK-8057606 - Expected UnavailableDeviceException is not thrown when again openning SPI in EXCLUSIVE mode
alexey karaksin
alexey.karaksin at oracle.com
Thu Sep 11 15:47:15 UTC 2014
Hi Jen,
you are right about lock release if the file is closed.
but if you do not object I would keep the explicit unlock.
thanks,
Alexey.
On 11.09.2014 18:59, Jen Dority wrote:
> Hi Alexey,
>
> Line 958: "unclock" --> "unlock"
> Do we need the unlock code in spi_disable? Won't the lock be released
> when the fd is closed in the next line?
> Otherwise, changes look good.
>
> Jen
>
> On 9/8/2014 1:52 PM, alexey karaksin wrote:
>> issue: https://bugs.openjdk.java.net/browse/JDK-8057606
>> webrev: http://cr.openjdk.java.net/~alkonsta/8057606/
>>
>>
>> Hi All,
>> please review the changes for checking if a device has already been
>> opened.
>>
>> check inside the same process: devices store in the list
>> check across processes: check if flock is set.
>
More information about the dio-dev
mailing list