[comp.sys.amiga.tech] EXEC stack usage on task switch

dillon@POSTGRES.BERKELEY.EDU (Matt Dillon) (12/21/88)

	Re: Dale's note on even more stack being required for a task using
the 68881 .. right, I realized that might happen, so the LWP stuff now
has a global variable which holds the amount of extra stack needed (defaulting
to 96+8[+3 for LW align] bytes.  Any program which uses or might use the
68881 can up the value.  The idea is to NOT have to hard program the ForkLWP()
calls dependant on what EXEC does with a poor task's stack.

	BTW, if you get a stack overflow due to EXEC in a task switch, which
screws up memory below the allocated stack, it usually crashes the machine
so thouroughly that my poor A1000 asks for KickStart on reboot!


						-Matt