A thread abstraction.
More...
#include <thread.hxx>
|
void | threadFunc (void *param) |
| The thread functions calls the protected functions run and onTerminated. More...
|
|
A thread abstraction.
- Deprecated:
- use salhelper::Thread instead. Only the static member functions osl::Thread::getCurrentIdentifier, osl::Thread::wait, and osl::Thread::yield are not deprecated.
◆ Thread()
◆ ~Thread()
virtual osl::Thread::~Thread |
( |
| ) |
|
|
inlinevirtual |
◆ create()
bool osl::Thread::create |
( |
| ) |
|
|
inline |
◆ createSuspended()
bool osl::Thread::createSuspended |
( |
| ) |
|
|
inline |
◆ getCurrentIdentifier()
◆ getIdentifier()
◆ getPriority()
◆ isRunning()
bool osl::Thread::isRunning |
( |
| ) |
const |
|
inline |
◆ join()
virtual void osl::Thread::join |
( |
| ) |
|
|
inlinevirtual |
◆ onTerminated()
virtual void osl::Thread::onTerminated |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ operator delete() [1/2]
static void osl::Thread::operator delete |
( |
void * |
pMem | ) |
|
|
inlinestatic |
◆ operator delete() [2/2]
static void osl::Thread::operator delete |
( |
void * |
, |
|
|
void * |
|
|
) |
| |
|
inlinestatic |
◆ operator new() [1/2]
static void* osl::Thread::operator new |
( |
size_t |
nSize | ) |
|
|
inlinestatic |
◆ operator new() [2/2]
static void* osl::Thread::operator new |
( |
size_t |
, |
|
|
void * |
pMem |
|
) |
| |
|
inlinestatic |
◆ operator oslThread()
◆ resume()
virtual void osl::Thread::resume |
( |
| ) |
|
|
inlinevirtual |
◆ run()
virtual void osl::Thread::run |
( |
| ) |
|
|
protectedpure virtual |
◆ schedule()
virtual bool osl::Thread::schedule |
( |
| ) |
|
|
inlinevirtual |
◆ setName()
static void osl::Thread::setName |
( |
char const * |
name | ) |
|
|
inlinestatic |
◆ setPriority()
◆ suspend()
virtual void osl::Thread::suspend |
( |
| ) |
|
|
inlinevirtual |
◆ terminate()
virtual void osl::Thread::terminate |
( |
| ) |
|
|
inlinevirtual |
◆ wait()
static void osl::Thread::wait |
( |
const TimeValue & |
Delay | ) |
|
|
inlinestatic |
◆ yield()
static void osl::Thread::yield |
( |
| ) |
|
|
inlinestatic |
◆ threadFunc
void threadFunc |
( |
void * |
param | ) |
|
|
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
The documentation for this class was generated from the following file: