[omniORB] Stack size in CORBA(omniORB) threads

Luke Deller ldeller at xplantechnology.com
Wed Jul 5 11:53:49 BST 2006


Hi Radek,

> Is there any method, way etc. to change stack size taken by creating 
> omniORB threads?

I'm not aware of any such setting in omniORB itself.  However you can
change the default stack size for threads created by the omnithread
library (which is used by omniORB).

Here's a snippet from omnithread.h:

class omni_thread {
...
    static void stacksize(unsigned long sz);
    static unsigned long stacksize();
        // Use this value as the stack size when spawning a new thread.
        // The default value (0) means that the thread library default
is
        // to be used.
...
}

Regards,
Luke.


**********************************************************************************************

Important Note
This email (including any attachments) contains information which is
confidential and may be subject to legal privilege.  If you are not
the intended recipient you must not use, distribute or copy this
email.  If you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this
email are not necessarily the views of XPlan Technology.

It is the duty of the recipient to virus scan and otherwise test the
information provided before loading onto any computer system.
Xplan Technology does not warrant that the
information is free of a virus or any other defect or error.
**********************************************************************************************




More information about the omniORB-list mailing list