patch for Windows: do not use the thread lock feature from previous commit if used on Windows

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7596 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 14 years ago
parent 0a11727374
commit 1aba7869bf

@ -100,6 +100,7 @@ public class ThreadDump extends HashMap<ThreadDump.Thread, List<String>> impleme
// try to get the thread dump from yacy.log which is available when YaCy is started with // try to get the thread dump from yacy.log which is available when YaCy is started with
// startYACY.sh -l // startYACY.sh -l
if (!OS.canExecUnix) return;
File logFile = new File("yacy.log"); File logFile = new File("yacy.log");
if (!logFile.exists()) return; if (!logFile.exists()) return;

Loading…
Cancel
Save