Queue Thread In Blackberry
问题 I've looked at the BB API(5.0) and I can't find any way of serially executing a batch of threads. I know BB has a limit on the number of threads it will launch, so I don't want to launch 7 if the user clicks through things fast enough but I cannot find anything like a thread pool. Is there an easy fix for this or do I have to create a data structure? 回答1: If you just want to execute a bunch of tasks on a single thread serially and order isn't important, you could create a Timer object (which