ThreadWeaver
thread.h
42 * Whenever the thread is idle, it will ask its Weaver parent for a Job to do. The Weaver will either return a Job or a null
49 * This id marks the respective Thread object, and must therefore not be confused with, e.g., the pthread thread ID.
50 * The way threads are implemented and identified is platform specific. id() is the only way to uniquely identify a thread
A Job is a simple abstraction of an action that is to be executed in a thread context.
Definition job.h:47
void requestAbort()
Request the abortion of the job that is processed currently.
Definition thread.cpp:108
void run() override
The run method is reimplemented to execute jobs from the queue.
Definition thread.cpp:68
Q_OBJECTQ_OBJECT
QObject * parent() const const
QThread(QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:09 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:09 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.