Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

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

orbiter1aba7869bf22
diff --git a/source/net/yacy/kelondro/logging/ThreadDump.java b/source/net/yacy/kelondro/logging/ThreadDump.java
index 4bbe9541d..731b162ae 100644
--- a/source/net/yacy/kelondro/logging/ThreadDump.java
+++ b/source/net/yacy/kelondro/logging/ThreadDump.java
@@ -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
// startYACY.sh -l
+ if (!OS.canExecUnix) return;
File logFile = new File("yacy.log");
if (!logFile.exists()) return;