Is there any threads limit on android?
I'm creating a lot of threads in the app and thread count is unknown in compile-time. How can i get allowed threads count?
i'm getting:
05-11 16:24:19.441 11131-11194/? E/dalvikvm﹕ Thread creation failed (err=Invalid argument)
05-11 16:24:19.461 11131-11131/? A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000010 (code=1), thread 11131 (id.mykeyboard)
It's not a good idea to handle exception as i have to choose another approach to deal with it and approach depends on max threads limit.