[comp.sys.mac.programmer] How much space to allocate to the stack?

jtn@ADS.COM (John T. Nelson) (11/05/90)

When initializing the Mac there is a function that can be called whose name is SetApplLimit.  Code I've seen in some programs goes something like:

SetApplLimit(ApplicZone() + STACKSIZE );

Question... what should the value of STACKSIZE be?

Also, when doing a MoreMasters(), how many times should I do MoreMasters()... i.e. what should the value of MOREMASTERS be in this cod?

for ( i = 0; i < MOREMASTERS; i++ ) {
	moreMasters();
}

Thanks for your help!


--
ORGANIZATION:  Advanced Decision Systems   GEOGRAPHIC: Arlington, VA
UUCP:          kzin!speaker@mimsy.umd.edu  INTERNET:   jtn@potomac.ads.com
SPOKEN:        Yo... John!                 PHONE:      (703) 243-1611
PROJECT:       The Conrail Locomotive/Harpsichord Fusion Program