[omniORB] Porting omniORB 2.71 to embedded system ( RTEMS 4.0.0 )
Rosimildo DaSilva
rdasilva@connecttel.com
Sun, 28 Mar 1999 14:48:56 -0600
Hi,
I am porting the omniORB to RTEMS and I have seen a comment in
posix.cc that states that the stack size for a thread has to be around 32K.
From: lib/omnithread/posix.cc, line 531
======================================================
#if defined(__osf1__) && defined(__alpha__) || defined(__VMS)
// omniORB requires a larger stack size than the default (21120)
// on OSF/1
THROW_ERRORS(pthread_attr_setstacksize(&attr, 32768));
======================================================
This seems to be a bit overkill for an embedded system. (:-
Can anyone enlight me where this requirement comes from ?
Is it in the ORB run-time ?
What is the minimal size for the stack of a thread ?
Regards, Rosimildo.
+---------------------------------------------------------------------
| ConnectTel, Inc. - Austin, Texas.
| Phone : 512-338-1111 - Fax : 512-918-0449
| Email : devl@connecttel.com or mkting@connecttel.com
| Site : http://www.connecttel.com
+---------------------------------------------------------------------