octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #40343] Suggestion: Add XInitThreads() call be


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #40343] Suggestion: Add XInitThreads() call before starting the QT based GUI.
Date: Tue, 22 Oct 2013 04:27:03 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36

Update of bug #40343 (project octave):

                Severity:              3 - Normal => 1 - Wish               
              Item Group:                   Other => Feature Request        

    _______________________________________________________

Follow-up Comment #1:

Sounds easy enough to do, although a google search turns up a lot of questions
about the potential performance hit from doing this unconditionally. So while
it may help greatly for the case you have in mind, it may hurt the GUI in
general and everyone else who doesn't need this feature. I don't know, I
haven't tested it.

For reference, XInitThreads could be called directly, or, if we ever require
Qt >= 4.8 at some point (we currently work with >= 4.6), Qt now has an option
to initialize this for you:


QApplication::setAttribute(Qt::AA_X11InitThreads);


but again, only in Qt 4.8 or higher. This call must be done before
constructing the QApplication object.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40343>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]