blob: f9c126968d5565e11988ec5a8d72fd0d8101ef89 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- cpp/src/Ice/Thread.cpp.orig 2023-11-06 09:24:19 UTC
+++ cpp/src/Ice/Thread.cpp
@@ -482,6 +482,12 @@ IceUtil::Thread::start(size_t stackSize, bool realtime
stackSize = stackSize / 4096 * 4096 + 4096;
}
#endif
+#if defined(__FreeBSD__)
+ if(stackSize < 16384)
+ {
+ stackSize = 16384;
+ }
+#endif
rc = pthread_attr_setstacksize(&attr, stackSize);
if(rc != 0)
{
|