I have 10 AsyncTask Thread try to insert into queue but when the queue is full the thread must keep waiting until it's free again.
So I have tried to create them and when I try to create 10 more thread that will consume the queue they aren't even created so what is the maximum number of thread can be run concurrent and keep in mind the first 10 thread are waiting by while loop until the queue is free to add.