VCF::OSXThread Class Reference
#include <OSXThread.h>
Inheritance diagram for VCF::OSXThread:
List of all members.
Member Enumeration Documentation
|
|
- Enumerator:
-
| k_eExecutionContextSystemTask |
|
| k_eExecutionContextDeferredTask |
|
| k_eExecutionContextMPTask |
|
| k_eExecutionContextOther |
|
|
Constructor & Destructor Documentation
| VCF::OSXThread::OSXThread |
( |
Thread * |
thread, |
|
|
bool |
mainThread |
|
) |
|
|
| virtual VCF::OSXThread::~OSXThread |
( |
|
) |
[virtual] |
|
Member Function Documentation
| static int VCF::OSXThread::executionContext |
( |
|
) |
[static, protected] |
|
| Locale* VCF::OSXThread::getCurrentLocale |
( |
|
) |
|
|
| virtual OSHandleID VCF::OSXThread::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::OSXThread::getOwningProcessID |
( |
|
) |
[inline, virtual] |
|
|
|
Returns process that created thread.
Is this useful? For OSX this is a pointer to a ProcessSerialNumber struct. See the ProcessManager API for more info
Implements VCF::ThreadPeer. |
| virtual uint32 VCF::OSXThread::getThreadID |
( |
|
) |
[inline, virtual] |
|
|
|
returns the thread associated with this thread of execution
Implements VCF::ThreadPeer. |
| virtual bool VCF::OSXThread::isActive |
( |
|
) |
[inline, virtual] |
|
| void VCF::OSXThread::setCurrentLocale |
( |
Locale * |
locale |
) |
|
|
| virtual void VCF::OSXThread::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::OSXThread::start |
( |
|
) |
[virtual] |
|
| virtual void VCF::OSXThread::stop |
( |
|
) |
[virtual] |
|
|
|
gracefully stops the thread and shuts it down, releasing any OS resources associated with the thread
Implements VCF::ThreadPeer. |
| static OSStatus VCF::OSXThread::taskProc |
( |
void * |
parameter |
) |
[static, protected] |
|
| virtual int VCF::OSXThread::wait |
( |
uint32 |
milliseconds |
) |
[virtual] |
|
| virtual int VCF::OSXThread::wait |
( |
|
) |
[virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file: