drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben-Zvi <...@git.apache.org>
Subject [GitHub] drill pull request #:
Date Fri, 03 Nov 2017 22:10:11 GMT
Github user Ben-Zvi commented on the pull request:

    In exec/java-exec/src/main/java/org/apache/drill/exec/work/WorkManager.java:
    In exec/java-exec/src/main/java/org/apache/drill/exec/work/WorkManager.java on line 188:
    Checking on https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/locks/Condition.html#await--
, looks like there is no need to re-grab the lock after calling await() . Also all the examples
I found online don't do so.  It is possible that calling lock() again actually increments
the (already acquired) lock counter.


View raw message