summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-04-15 09:09:23 +0200
committerLiang Qi <liang.qi@theqtcompany.com>2015-04-15 09:09:24 +0200
commit605617b5dce6ccd8826d07aabe2db781ae3aa9b4 (patch)
tree9b014020fce4f53e92442c6914e5bc6f6264e879 /src/corelib/thread
parentd370878aa0510e1e51eb9014965f505e395f3f81 (diff)
parentd238f7e0190c49c0f07c24f2f4ef9a50577c389b (diff)
Merge remote-tracking branch 'origin/5.4' into 5.5
Diffstat (limited to 'src/corelib/thread')
-rw-r--r--src/corelib/thread/qthread_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qthread_unix.cpp b/src/corelib/thread/qthread_unix.cpp
index 996ed1779d..77093c9cf1 100644
--- a/src/corelib/thread/qthread_unix.cpp
+++ b/src/corelib/thread/qthread_unix.cpp
@@ -400,7 +400,7 @@ int QThread::idealThreadCount() Q_DECL_NOTHROW
cores = (int)psd.psd_proc_cnt;
}
#elif defined(Q_OS_BSD4)
- // FreeBSD, OpenBSD, NetBSD, BSD/OS, Mac OS X
+ // FreeBSD, OpenBSD, NetBSD, BSD/OS, OS X, iOS
size_t len = sizeof(cores);
int mib[2];
mib[0] = CTL_HW;