Well, after three years of fooling with this stuff I finally have an
app that simply won't get very far without tweaking the stack size.
In toying with the prefs resource (from SystemPrv.h):
typedef struct SysAppPrefs {
Word priority; // AMX task priority
DWord stackSize; // required stack space
DWord minHeapSpace; // minimum heap space required
} SysAppPrefsType;
it is implied in the Knowledge Base sample to leave priority at 30
and the minHeapSpace at 4K.
Questions:
1) Will twiddling AMX priority accomplish anything? The AMX kernel
has a priority of zero, which I presume is "highest" priority.
2) Does adjusting minHeapSpace do anything (either helpful or
damaging), especially if stack size is 4K or more?
3) Are the values for stackSize and minHeap additive, or must stack
size be spec'd within heap size?
Thanks!
...mike
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/