ThreadWeaver
Original author(s)Mirko Boehm
Developer(s)Mirko Boehm
Stable release
5.113.0[1] Edit this on Wikidata / 14 December 2023; 49 days ago (14 December 2023)
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

  1. ^ "KDE Ships Frameworks 5.113.0". 14 December 2023. Retrieved 16 December 2023.
  2. ^ "kdelibs API Reference". Archived from the original on 2011-01-23. Retrieved 2017-01-02.
  3. ^ "ThreadWeaver in KDE Frameworks 5". 15 July 2013. Retrieved 2015-05-13.

Further reading