diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-31 21:22:47 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-31 21:22:47 +0000 |
commit | ec3b91381ddf8db72d7f41e21f4f5065813eb43e (patch) | |
tree | 30ebfffce6e51a11cee0e6d7a3fe2e0722768287 /ace/OS.cpp | |
parent | 1395e4f591a1c454f5d9f63ad5aac2dde892b5d2 (diff) | |
download | ATCD-ec3b91381ddf8db72d7f41e21f4f5065813eb43e.tar.gz |
(thr_create): on Chorus, double the stack size to avoid bad problems
Diffstat (limited to 'ace/OS.cpp')
-rw-r--r-- | ace/OS.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/OS.cpp b/ace/OS.cpp index 9c1b34358ce..be01a337449 100644 --- a/ace/OS.cpp +++ b/ace/OS.cpp @@ -1696,10 +1696,10 @@ ACE_OS::thr_create (ACE_THR_FUNC func, // being we are all non-super actors. Should be fixed to take care // of super actors!!! if (stacksize == 0) - stacksize = ACE_OS::sysconf (_SC_PTHREAD_STACK_MIN); + stacksize = 2 * ACE_OS::sysconf (_SC_PTHREAD_STACK_MIN); else { - size_t _s = ACE_OS::sysconf (_SC_PTHREAD_STACK_MIN); + size_t _s = 2 * ACE_OS::sysconf (_SC_PTHREAD_STACK_MIN); if (stacksize < _s) stacksize = _s; } |