[ODE] stack size under windows

Michal Bacik michal at lonelycatgames.com
Thu Feb 27 02:37:02 2003


> AFAIK there is no fixed limit, but keep in mind that this setting
> specifies
> the stack for each thread. If you plan on using DirectX, then
> this means ca.
> 5 threads will be running in the background taking up 5*STACKSIZE.
>
> - Marco Grubert

Quite misleading information. Depends which parts of DirectX you're using -
only DPlay and DSound create additional threads.
Also, when creating thread, caller may explicitly set thread's stack size
(or pass 0 in order to use same size as the calling thread). And you can't
know if DirectX is using default stack size or sets the size explicitly.

- michal