Represents an abstract thread which might be not created with AThread.
More...
#include <AUI/Thread/AThread.h>
Not all threads are created through AThread - these are interfaced with AAbstractThread.
- See also
- AThread::current()
> All members, including inherited
◆ getCurrentEventLoop()
IEventLoop * AAbstractThread::getCurrentEventLoop |
( |
| ) |
const |
|
inline |
- Returns
- current event loop for this thread
◆ getId()
id AAbstractThread::getId |
( |
| ) |
const |
◆ interrupt()
virtual void AAbstractThread::interrupt |
( |
| ) |
|
|
virtual |
◆ isInterrupted()
virtual bool AAbstractThread::isInterrupted |
( |
| ) |
|
|
virtual |
- Returns
- true if interrupt requested for this thread.
Reimplemented in AThread.
◆ operator*()
template<class Callable>
void AAbstractThread::operator* |
( |
Callable | fun | ) |
|
|
inline |
- Template Parameters
-
- Parameters
-
◆ operator<<()
template<class Callable>
void AAbstractThread::operator<< |
( |
Callable | fun | ) |
|
|
inline |
- Template Parameters
-
- Parameters
-
◆ resetInterruptFlag()
virtual void AAbstractThread::resetInterruptFlag |
( |
| ) |
|
|
virtual |