Jump to content

ThreadWeaver

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Codename Lisa (talk | contribs) at 07:40, 14 January 2018 (Cleanup. Removed erroneous parameters from the infobox. For a list of supported parameters please consult Template:Infobox software/doc.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

ThreadWeaver
Original author(s)Mirko Boehm
Developer(s)Mirko Boehm
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[1] and later refactored for KDE Frameworks 5.[2]

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

  1. ^ "kdelibs API Reference". Retrieved 2017-01-02.
  2. ^ "ThreadWeaver in KDE Frameworks 5". Retrieved 2015-05-13.

Further reading

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