Closed ctrueden closed 2 months ago
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/jaunch-a-new-java-launcher-test-fiji-with-java-21/92058/1
Is there a reason not to run XInitThreads?
@kephale Not that I know of. But I know next to nothing about XInitThreads
. Why is this even necessary in the first place? What impact does it have to run or not run it? I have no idea.
Yeah, all I know is that you get race conditions if you don't run it. sciview is still being haunted by whatever race conditions are happening on Linux, which can't be just XInitThreads...
The ImageJ Launcher calls XInitThreads on Linux when not in headless mode, so that 3D graphics libraries like Vulkan work as needed:
Should Jaunch also do this? Maybe an optional directive? It would be a directive that does not switch the result from
LAUNCH
toCANCEL
.