Software:ThreadWeaver

From HandWiki
Revision as of 17:19, 27 June 2023 by John Stpola (talk | contribs) (over-write)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
ThreadWeaver
KDE mascot Konqi for hardware related applications.png
Original author(s)Mirko Boehm
Developer(s)Mirko Boehm
Stable release5.85.0 (August 13, 2021; 3 years ago (2021-08-13)) [±][1]
Operating systemLinux, other Unix and Unix-like systems, Windows
TypeSystem library multithreaded library
LicenseLGPL
Websiteapi.kde.org/frameworks-api/frameworks5-apidocs/threadweaver/html/index.html

ThreadWeaver is a system library initially developed for KDE Software Compilation 4[2] and later refactored for KDE Frameworks 5.[3]

ThreadWeaver allows developers to easily take advantage of multi-core processors and multithreading. In ThreadWeaver the workload is divided into individual jobs, then relationship between jobs (what order they should be completed or which has a higher priority); from that ThreadWeaver will work out the most efficient way to execute them. Krita has implemented visual filter previews using ThreadWeaver to prevent GUI lockups.

References

Further reading

  • Till Adam and Mirko Boehm (2009). "When the bazaar sets out to build cathedrals (§ ThreadWeaver)". in Diomidis Spinellis and Georgios Gousios. Beautiful Architecture: Leading Thinkers Reveal the Hidden Beauty in Software Design. O'Reilly Media, Inc.. pp. 303–314. ISBN 9780596517984.