|XP is just a number|
Re: Use more threads.by hv (Parson)
|on Feb 27, 2006 at 11:27 UTC||Need Help??|
[renodino] has been unable to find a binary edit utility for the Linux platform.
For setting stacksize, you need the API function setrlimit(2); the manpage refers you also to the bash builtin 'ulimit' and quotactl(1).
Trying that locally against an example from What perl operations will consume C stack space?:
.. which gets me to the builtin limit.
Note that the limit may be capped by root, and that more complex systems may use the quota-based accounting method; but any barriers are there to stop people increasing stack size, so they shouldn't cause a problem for your requirements here.