8222774: (ch) Replace uses of stateLock and blockingLock with explicit locks

Brian Burkhalter brian.burkhalter at oracle.com
Tue Apr 23 21:12:33 UTC 2019


> On Apr 23, 2019, at 1:05 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 
> Daniel sits nearby and we talked a bit about the loops to deal with EINTR/retry. They are changed to while loops to make them a bit easier to reader. I see Martin's comment about the 4 cases where timeouts are using the 2-arg convert rather than toMillis or toNanos so I've changed those too. The update webrev is here:
> 
> http://cr.openjdk.java.net/~alanb/8222774/1/webrev/index.html <http://cr.openjdk.java.net/~alanb/8222774/1/webrev/index.html>
The changes versus the previous version look OK to me.

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20190423/e9340f64/attachment.html>


More information about the nio-dev mailing list