RFR: JDK-8057606 - Expected UnavailableDeviceException is not thrown when again openning SPI in EXCLUSIVE mode
Jen Dority
jen.dority at oracle.com
Thu Sep 11 14:59:51 UTC 2014
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