[omniORB] Thread stack size (again)

Bruce Visscher visschb@rjrt.com
Thu, 23 Sep 1999 15:32:09 -0400


Good job!

One comment:

Sai-Lai Lo wrote:
> 
> I've added the static functions to the omnithread library:
> 
> class omni_thread {
>     static void stacksize(unsigned long sz=0);
>     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.
> };

Won't this create an ambiguity if you invoke omni_thread::stacksize with
no arguments?

> 
> The update is available on the CVS server.
> 
> I am in favour of this change rather than changing the ctor signature
> because we can maintain shared library compatibility with the older version.
> 
> May be we can revisit the ctor solution before we release 3.0.
> 

Sounds good to me.

Bruce Visscher