|
LibreOffice
LibreOffice 26.2 SDK C/C++ API Reference
|
A thread abstraction. More...
#include <thread.hxx>
Public Member Functions | |
| Thread () | |
| virtual | ~Thread () COVERITY_NOEXCEPT_FALSE |
| bool | create () |
| bool | createSuspended () |
| virtual void | suspend () |
| virtual void | resume () |
| virtual void | terminate () |
| virtual void | join () |
| bool | isRunning () const |
| void | setPriority (oslThreadPriority Priority) |
| oslThreadPriority | getPriority () const |
| oslThreadIdentifier | getIdentifier () const |
| virtual bool | schedule () |
| operator oslThread () const | |
Static Public Member Functions | |
| static void * | operator new (size_t nSize) |
| static void | operator delete (void *pMem) |
| static void * | operator new (size_t, void *pMem) |
| static void | operator delete (void *, void *) |
| static oslThreadIdentifier | getCurrentIdentifier () |
| static void | wait (const TimeValue &Delay) |
| static void | yield () |
| static void | setName (char const *name) SAL_NOEXCEPT |
Protected Member Functions | |
| virtual void | run ()=0 |
| virtual void | onTerminated () |
Friends | |
| void | threadFunc (void *param) |
| The thread functions calls the protected functions run and onTerminated. | |
A thread abstraction.
|
inline |
|
inlinevirtual |
Reimplemented in salhelper::Thread.
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in salhelper::Thread.
|
inlineprotectedvirtual |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inlinevirtual |
|
protectedpure virtual |
|
inlinevirtual |
Reimplemented in salhelper::Thread.
|
inlinestatic |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in salhelper::Thread.
|
inlinestatic |
|
inlinestatic |
|
friend |
The thread functions calls the protected functions run and onTerminated.
The function's signature matches the one of oslWorkerFunction which is declared in osl/thread.h