Each task tracks its runtime, and tasks are enqueued on that value.
每个任务都跟踪它的运行时,并根据该值对任务进行排队。
If necessary, a waiting thread is signaled to pick up the newly enqueued object.
如果需要,则通知等待线程选取刚刚进入队列的对象。
If the minimum number of objects is already allocated, then a weak reference to the object is enqueued.
如果已经分配了最低数量的对象,则对象的弱引用被放置到队列中。
应用推荐