GP-4045 add locking to sleigh .sla and slaspec files

sla freshness checking and slaspec recompilation is now protected by a
lock file used as a mutex.

Added LanguageProvider.getLanguage(LanguageID, TaskMonitor monitor) to
better expose TaskMonitor and allow for canceling lock file attempt.
This commit is contained in:
dev747368
2026-01-14 22:19:47 +00:00
parent 8689976f94
commit c525661a4f
28 changed files with 2188 additions and 679 deletions

View File

@@ -23,6 +23,7 @@ import org.jdom2.*;
import org.jdom2.input.SAXBuilder;
import generic.jar.ResourceFile;
import ghidra.app.plugin.processors.sleigh.SleighLanguageDescription;
import ghidra.app.util.bin.ByteProvider;
import ghidra.app.util.bin.MemoryByteProvider;
import ghidra.framework.*;