mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 18:22:59 +02:00
FreeBSD build and threading
This commit is contained in:
@@ -160,7 +160,7 @@ void ThreadImpl::setStackSizeImpl(int size)
|
||||
#else
|
||||
if (size != 0)
|
||||
{
|
||||
#if defined(__APPLE__)
|
||||
#if defined(POCO_OS_FAMILY_BSD)
|
||||
// we must round up to a multiple of the memory page size
|
||||
const int PAGE_SIZE = 4096;
|
||||
size = ((size + PAGE_SIZE - 1)/PAGE_SIZE)*PAGE_SIZE;
|
||||
|
||||
Reference in New Issue
Block a user