ThreadWeaver
Overview | Use Cases | Why Multithreading? | Main Components
ThreadWeaver is a helper for multithreaded programming. It uses a job-based interface to queue tasks and execute them in an efficient way.
You simply divide the workload into jobs, state the dependencies between the jobs and ThreadWeaver will work out the most efficient way of dividing the work between threads within a set of resource limits.
For more information, see Use Cases, Why Multithreading? and Main Components of ThreadWeaver.
Example Code
Example code is available in the Examples directory. The Construction program shows how to use ThreadWeaver in imperative (not event oriented) programs. The Jobs program provides a GUI example and displays the interaction with the weaver state and it's signals. The Simple Multithreaded Image Viewer (SMIV) example shows the use of job dependencies.
- Maintainer(s):
- Mirko Boehm
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.