- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to set stack size when link with aCC ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 12:17 PM
04-01-2004 12:17 PM
how to set stack size when link with aCC ?
any advice will be appreciated!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 01:25 PM
04-01-2004 01:25 PM
Re: how to set stack size when link with aCC ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2004 02:46 PM
04-01-2004 02:46 PM
Re: how to set stack size when link with aCC ?
the process data,stack and text area are determined by the three kernel parameters
maxdsiz
maxssiz
maxtsiz
and their 64 bit equivalents.
These parameters will specify the upper limit for any process for the usage.
By default the size would be 64M.
check this for more info
http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2004 02:50 AM
04-02-2004 02:50 AM
Re: how to set stack size when link with aCC ?
If you use threads then the maximum stack size for each new thread is determined by the thread attributes passed in to pthread_create. That can be initialized with pthread_attr_setstacksize().
There is also a non-portable pthread_default_stacksize_np() function for setting the default for all future threads.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2004 02:58 AM
04-02-2004 02:58 AM