If I can know the max number of pthreads to create in current activity, I can limit active threads.
I am using thread for load data from url and than process it to generate drawing.
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s no such thing as “max number of threads”, or at least it’s not that well-specified. The implementation details, memory/processor in your device, etc. etc. all affect this, but it’s not really easy to decide theoretically. If you really badly want to know, you must try it by creating as much threads as possible until crash, but you’d better not be pushing the limits of the device.