Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找 Solaris 9 上的可配置/可调参数,通过它我可以更改默认线程堆栈大小,而无需重新编译代码以使用“pthread_attr_setstacksize”
例如,在 HPUX 11.11 / 11.23 上,可以导出环境变量“PTHREAD_DEFAULT_STACK_SIZE”(可通过 HPUX 补丁 PHCO_38307 / PHCO_38955 获得) - 是否有等效的 Solaris 9 方法来实现相同的功能?
使用内核参数
http://docs.oracle.com/cd/E19683-01/817-1759/6mhfh76gs/index.html