On Thu, Dec 8, 2011 at 9:28 AM, Sergio Campamá <scamp...@ing.puc.cl> wrote:
> I'll try fidgeting with these concepts when I have the chance… My main worry > about having multiple stacks is detecting if I have enough memory to > "allocate" a new stack, and overflow/underflow problems… I tried to solve > this by having a defined number of available threads, and allocate space for > them on RAM statically in C structs. How can I dimension the required stack > size for the thread? Just trial and error? It seems to me that you just need to look at this a little differently: your static per-thread C structs can be seen as holding separate stacks, onto which the threads save the registers and then use the rest of the area for a private stack. ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users