See check in 1937 which changes:

"Modify btree.c so that is allocates big data structures using malloc() instead of allocating from the stack. Stack allocations cause problems for embedded systems and pthreads implementations that only allocate a limited amount of stack space."

You will need to build from cvs.

A side question, can't Windows or Windows/CE change the stack size for a thread? You can with pthreads on all Unix platforms, which allows you to handle the above case. I set all my threads stack size to 1MB to avoid running out of stack in a thread, which for the embedded people might not be an option.

ck



Reply via email to