From: Vadiraj <vadiraj.cs@gmail.com>
To: linux-c-programming <linux-c-programming@vger.kernel.org>
Subject: Re: pthread stack limit.
Date: Mon, 29 Nov 2004 12:35:38 +0530 [thread overview]
Message-ID: <6eee1c40411282305393e7d00@mail.gmail.com> (raw)
In-Reply-To: <20041125104836.GE2067@lug-owl.de>
On Thu, 25 Nov 2004 11:48:36 +0100, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> On Thu, 2004-11-25 13:04:01 +0530, Vadiraj <vadiraj.cs@gmail.com>
> wrote in message <6eee1c404112423345c1d792f@mail.gmail.com>:
>
> > Does any one has idea on how this thread stack limit is decided
> > upon. I see different max stack limit for different pthread
> > implementation. Is there a standard that is followed in deciding on
> > thread stack size and number of threads?
>
> I guess pthread_attr_getstacksize() and pthread_attr_setstacksize()
> can be used for getting/setting the size...
Thats true. What I want to know is how is the max limit decided upon.
Does page size come into picture for this.. pthread_attr_setstacksize
throws error for certain size in differnect systems. For linux its 2
mb where as some other system do support more than 8mb. How is this
handled?
--
cheers,
Vadi
prev parent reply other threads:[~2004-11-29 7:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-25 7:34 pthread stack limit Vadiraj
2004-11-25 10:48 ` Jan-Benedict Glaw
2004-11-29 7:05 ` Vadiraj [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6eee1c40411282305393e7d00@mail.gmail.com \
--to=vadiraj.cs@gmail.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).