mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
Merge branch 'poco-1.8.1' of https://github.com/pocoproject/poco into poco-1.8.1
This commit is contained in:
commit
025a4b0667
@ -173,10 +173,8 @@ void ThreadImpl::setStackSizeImpl(int size)
|
||||
const int STACK_PAGE_SIZE = 4096;
|
||||
size = ((size + STACK_PAGE_SIZE - 1)/STACK_PAGE_SIZE)*STACK_PAGE_SIZE;
|
||||
#endif
|
||||
#if !defined(POCO_ANDROID)
|
||||
if (size < PTHREAD_STACK_MIN)
|
||||
size = PTHREAD_STACK_MIN;
|
||||
#endif
|
||||
}
|
||||
_pData->stackSize = size;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user