IT lexicon › Programming › Work stealing

Work stealing

Programming På svenska → Updated: 2026-11-15

A scheduling strategy where idle threads grab work from other threads' queues to balance load.

In a naive thread pool, each thread has its own work queue. Work stealing lets an idle thread dequeue a task from another thread's queue instead of sitting idle. This reduces latency and improves CPU utilization when workload is uneven. The technique was pioneered by Cilk in the mid-1990s and is now standard in modern parallel runtimes, including Java's ForkJoinPool and Go's goroutine scheduler.

← Back to the lexicon