[omniORB] Thread stack size (again)

Sai-Lai Lo S.Lo@uk.research.att.com
23 Sep 1999 20:58:49 +0100


>>>>> Bruce Visscher writes:

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

Good point. Problem corrected. Moral is never do things in a hurry.

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.
};

Sai-Lai

-- 
Sai-Lai Lo                                   S.Lo@uk.research.att.com
AT&T Laboratories Cambridge           WWW:   http://www.uk.research.att.com 
24a Trumpington Street                Tel:   +44 1223 343000
Cambridge CB2 1QA                     Fax:   +44 1223 313542
ENGLAND