ThreadWeaver

From Wikipedia, the free encyclopedia
Jump to: navigation, search
ThreadWeaver
KDE mascot Konqi for hardware related applications.png
Original author(s) Mirko Boehm
Developer(s) Mirko Boehm
Stable release 5.38.0 (September 9, 2017; 2 months ago (2017-09-09)) [±][1]
Preview release 5.0 beta 3 (June 5, 2014; 3 years ago (2014-06-05)) [±][2]
Operating system Linux, other Unix and Unix-like systems, Windows
Type System library multithreaded library
License LGPL
Website api.kde.org/frameworks-api/frameworks5-apidocs/threadweaver/html/index.html

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

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[edit]

  1. ^ Faure, David (9 September 2017). "Release of KDE Frameworks 5.38.0". Retrieved 13 September 2017. 
  2. ^ "KDE Ships Third Beta of Frameworks 5". KDE. 2014-06-05. 
  3. ^ "kdelibs API Reference". Retrieved 2017-01-02. 
  4. ^ "ThreadWeaver in KDE Frameworks 5". Retrieved 2015-05-13. 

Further reading[edit]

  • 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.