[Webkit-unassigned] [Bug 36832] [Qt] crash in debug mode just before exit
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 31 08:14:25 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=36832
--- Comment #8 from Balazs Kelemen <kb at inf.u-szeged.hu> 2010-03-31 08:14:25 PST ---
Actually this will be the most straightforward:
bool isMainThread()
{
static QThread* mainThread = QCoreApplication::instance()->thread();
return QThread::currentThread() == mainThread;
}
, but I am not sure that using a static is thread safe at all platforms.
What do you think?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list