227228229230231232233234235236237
e.printStackTrace(); result[0] = false; } finally { finished[0] = true; priveleged_lock.exit(); priveleged_lock.unlock(); } } }); while (!finished[0]) {
236237238239240241242243244245246
while (!finished[0]) { priveleged_lock.enter(); } priveleged_lock.unlock(); return result[0]; } public void setFilenameFilter(FilenameFilter filter) {
274275276277278279280281282283284
while (!dispatcher.isDone()) { handler.enter(); } } finally { handler.unlock(); } // return target's response return dispatcher.getReturnValue(); }
351352353354355356357358359360361
while (!dispatcher.isDone()) { handler.enter(); } } finally { handler.unlock(); } } /** *
437438439440441442443444445446447