Login  Register

Turning off XInitThreads

Posted by Andy Skinner on Sep 11, 2012; 6:48pm
URL: https://forum.jogamp.org/Turning-off-XInitThreads-tp4026119.html

I've read various threads where someone had a problem with XInitThreads.  While I see the use of it, our particular case has JOGL fill just one role in a larger system.  If we are going to call XInitThreads, we'd like to be able to do it earlier than JOGL will do it, before any X calls are made.

Would you be willing to add a way to not call XInitThreads in JOGL initialization?

There is a public static final boolean that controls the call in initSingleton() in X11Util.java.  Could we get something we could set?

thanks,
andy