You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-ndk
Hi
I am writing multi-thread application in c++, I would like to increase
stack size and
I have several questions:
1. How Can detect stack size?
2. How can i increase stack size?
Thank you
fadden
unread,
Dec 13, 2010, 7:55:40 PM12/13/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-ndk
Bionic's default stack size is 1MB per thread. That should be plenty.
If not, using pthreads, pthread_attr_setstack() can be used to set the
stack attribute in the pthread_attr_t that is passed to
pthread_create().