Update the implementation methods of the thread queue.