VCF::PosixThread Class Reference
#include <PosixThread.h>
Inheritance diagram for VCF::PosixThread:
List of all members.
Constructor & Destructor Documentation
| VCF::PosixThread::PosixThread |
( |
Thread * |
thread, |
|
|
bool |
mainThread |
|
) |
|
|
| virtual VCF::PosixThread::~PosixThread |
( |
|
) |
[virtual] |
|
Member Function Documentation
| virtual OSHandleID VCF::PosixThread::getHandleID |
( |
|
) |
[inline, virtual] |
|
|
|
returns a handle ID for the thread.
It's use and signifigance are platform specific. On Win32 systems this is the HANDLE returned by the CreateThread/_beginthreadex() calls
Implements VCF::ThreadPeer. |
| virtual uint32 VCF::PosixThread::getOwningProcessID |
( |
|
) |
[inline, virtual] |
|
|
|
returns the process ID that this thread is part of
Implements VCF::ThreadPeer. |
| virtual uint32 VCF::PosixThread::getThreadID |
( |
|
) |
[inline, virtual] |
|
|
|
returns the thread associated with this thread of execution
Implements VCF::ThreadPeer. |
| int VCF::PosixThread::inThreadProc |
( |
|
) |
[inline] |
|
| virtual bool VCF::PosixThread::isActive |
( |
|
) |
[inline, virtual] |
|
| virtual void VCF::PosixThread::sleep |
( |
uint32 |
milliseconds |
) |
[virtual] |
|
|
|
causes the thread the thread to sleep for the specified number of milliseconds
- Parameters:
-
| uint32 | - the number of milliseconds to sleep |
Implements VCF::ThreadPeer. |
| virtual bool VCF::PosixThread::start |
( |
|
) |
[virtual] |
|
| virtual void VCF::PosixThread::stop |
( |
|
) |
[virtual] |
|
|
|
gracefully stops the thread and shuts it down, releasing any OS resources associated with the thread
Implements VCF::ThreadPeer. |
| static void* VCF::PosixThread::threadProc |
( |
void * |
arg |
) |
[static, protected] |
|
| virtual int VCF::PosixThread::wait |
( |
uint32 |
milliseconds |
) |
[virtual] |
|
| virtual int VCF::PosixThread::wait |
( |
|
) |
[virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file: