commit | 49a6af0d7327d1c0ebe1c57ec17af9951582cb03 | [log] [tgz] |
---|---|---|
author | madhusudancs@gmail.com <madhusudancs@gmail.com@123451ca-8445-de46-9d55-352943316053> | Thu Feb 07 02:28:55 2013 +0000 |
committer | madhusudancs@gmail.com <madhusudancs@gmail.com@123451ca-8445-de46-9d55-352943316053> | Thu Feb 07 02:28:55 2013 +0000 |
tree | 5b64a1f685eb20f8261042dca4d6095e2664e543 | |
parent | d072edfd9bdb4610be508ca3e9a537190704a4da [diff] |
Remove the unnecessary wait for getting the monitors since the client architecture has changed. git-svn-id: https://hyracks.googlecode.com/svn/branches/fullstack_hyracks_result_distribution@2839 123451ca-8445-de46-9d55-352943316053
diff --git a/hyracks/hyracks-client/src/main/java/edu/uci/ics/hyracks/client/dataset/HyracksDataset.java b/hyracks/hyracks-client/src/main/java/edu/uci/ics/hyracks/client/dataset/HyracksDataset.java index 522fe2d..c11ae59 100644 --- a/hyracks/hyracks-client/src/main/java/edu/uci/ics/hyracks/client/dataset/HyracksDataset.java +++ b/hyracks/hyracks-client/src/main/java/edu/uci/ics/hyracks/client/dataset/HyracksDataset.java
@@ -124,16 +124,6 @@ } } - while (lastMonitor.getNFramesAvailable() < 0 && !lastMonitor.eosReached()) { - synchronized (lastMonitor) { - try { - lastMonitor.wait(); - } catch (InterruptedException e) { - // - } - } - } - while (readSize <= 0 && !((lastReadPartition == knownRecords.length - 1) && (lastMonitor.eosReached()))) { while (lastMonitor.getNFramesAvailable() <= 0 && !lastMonitor.eosReached()) { synchronized (lastMonitor) {