threads has been a part of CORE for awhile now, which means there's at least some legacy apps out there (including a number of my own) that might want to take advantage of the stack sizing.
Alas, sysadmins and production environments being what they are, installing modified code - no matter how minor the change - is nearly impossible, or at least a herculean effort.
So I'll suggest an additional i/f: a PERL5_ITHREADS_STACK_SIZE environment variable that can be applied globally to enable the stack trimming wo/ any code mods, just install the new threads package from CPAN, set the environment variable, test the app as needed, and install into production. Just add water, makes its own sauce...
While this sort of interface might be frowned upon aesthetically and for long term support, I'd suggest we're dealing with some seriously low hanging fruit here for getting ithreads footprint under size 20 EEEE (at least on some commonly used platforms), if the production deployment impact can be minimized.
In reply to Re: New threads->create() syntax
by renodino
in thread New threads->create() syntax
by jdhedden
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |