Merge pull request #2810 from ptahmose:master
PiperOrigin-RevId: 306460738
This commit is contained in:
commit
4c8e6a9fe1
@ -208,7 +208,7 @@ size_t GetThreadCount() {
|
|||||||
|
|
||||||
// exclude empty members
|
// exclude empty members
|
||||||
int nthreads = 0;
|
int nthreads = 0;
|
||||||
for (int i = 0; i < size / mib[4]; i++) {
|
for (size_t i = 0; i < size / mib[4]; i++) {
|
||||||
if (info[i].p_tid != -1)
|
if (info[i].p_tid != -1)
|
||||||
nthreads++;
|
nthreads++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user