How many Threads/Timer’s can a BlackBerry application have live at any given time?
I’m assuming here that Timer objects are not handled special by the OS – they simply use Thread.sleep or some such to get them selves “scheduled”.
Thanks!
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.
16 threads per application, and there’s also a global limit of 128 threads in the device. If you exceed any of these limits, a TooManyThreadsError will be thrown.
About the
Timers, each one has a background thread. From the Timer class javadoc: