在程序中避免位置假设和固定队列名称。
Avoid location assumptions and fixed queue names in programs.
我们通常想要的是同一组固定的工作线程相结合的工作队列,它使用wait和notify来通知等待线程新的工作已经到达了。
What we usually want is a work queue combined with a fixed group of worker threads, which USES wait and notify to signal waiting threads that new work has arrived.
如果您将缺省值从0更改为1,那么所有固定优先级的线程都将放入到这个运行队列中。
All fixed priority threads will be placed on the run queue if you change the default from 0 to 1.
应用推荐