public inbox for
 help / color / mirror / Atom feed
* Default Stack Size 0??
@ 2009-10-07  1:37 Siva Chandra
  2009-10-07  4:52 ` Phil Frisbie, Jr.
  0 siblings, 1 reply; 2+ messages in thread
From: Siva Chandra @ 2009-10-07  1:37 UTC (permalink / raw)
  To: pthreads-win32


You can consider me to be a newbie to pthreads-win32. I downloaded and
am using pthreads-2.8.0 static library and dll binaries with MinGW. I
find the default stack size to be zero. Consider the code snippet

    pthread_attr_t attr;

    size_t defStackSize;
    pthread_attr_getstacksize(&attr, &defStackSize);

    cout << "Default stack size = " << defStackSize << endl;

The above code prints 0! Does this mean that I cannot use the default
attributes in most but the simplest of my application??

Thanks and regards,
Siva Chandra

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-07  4:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-07  1:37 Default Stack Size 0?? Siva Chandra
2009-10-07  4:52 ` Phil Frisbie, Jr.

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 read-only IMAP folder(s) and NNTP newsgroup(s).