On Sat, 8 Dec 2007, Bernd Roesch wrote:

> Hello 
> 
> On 08.12.07, you wrote:
> 
> when i look in a newest nlist, nlisttree or texteditor or thebars actual
> class with a fileeditor, i see that string.
> 
> $STACK: 8192
> 
> what does this mean ?.

Nothing.

>From sources:

// we place a stack cookie in the binary so that
// newer OS version can directly take the specified
// number for the ramlib process
#if defined(MIN_STACKSIZE)

// transforms a define into a string
#define STR(x)  STR2(x)
#define STR2(x) #x

static const char USED_VAR stack_size[] = "$STACK:" STR(MIN_STACKSIZE) "\n";
#endif

It is only used in OS4, OS3 and MorphOS builds are using StackSwap() or 
StackSwapPPC() instead.

> class use own stack of that size or print a warning if stack lower ?.

Some N#?.mcc classes have a feature to extend stack of ramlib on demand. 
IMO it is unnecessary because initialization could be postponed to LibOpen 
and you can not Wait() in LibExpunge anyway.

On the other hand only OS3 suffers from insufficient ramlib stack problem.


  Ilkka



Visit http://www.amiga.dk/tumult for MUI-related
information, especially about MUI custom classes. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MUI/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/MUI/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to