Increase the default stack size on INTEGRITY
INTEGRITY doesn't support self-extending stack. The default stack size for a pthread on INTEGRITY is too small so we have to increase the default size. Change-Id: I0787d14938cf5e7e96c35df204212c8e83aa8893 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Nikola Velinov <nvelinov@ghs.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
8e445f8434
commit
f346d0e2b0
@ -149,6 +149,14 @@ QThreadPrivate::QThreadPrivate(QThreadData *d)
|
||||
exited(false), returnCode(-1),
|
||||
stackSize(0), priority(QThread::InheritPriority), data(d)
|
||||
{
|
||||
|
||||
// INTEGRITY doesn't support self-extending stack. The default stack size for
|
||||
// a pthread on INTEGRITY is too small so we have to increase the default size
|
||||
// to 128K.
|
||||
#ifdef Q_OS_INTEGRITY
|
||||
stackSize = 128 * 1024;
|
||||
#endif
|
||||
|
||||
#if defined (Q_OS_WIN)
|
||||
handle = 0;
|
||||
# ifndef Q_OS_WINRT
|
||||
|
Loading…
Reference in New Issue
Block a user