Worker thread scheduling.