VCF::Win32Thread Class Reference
#include <Win32Thread.h>
Inheritance diagram for VCF::Win32Thread:

Public Member Functions | |
| Win32Thread (Thread *thread, bool mainThread) | |
| virtual | ~Win32Thread () |
| virtual bool | start () |
| Starts (or resumes) a thread running. | |
| virtual void | stop () |
| gracefully stops the thread and shuts it down, releasing any OS resources associated with the thread | |
| virtual void | sleep (unsigned int milliseconds) |
| causes the thread the thread to sleep for the specified number of milliseconds | |
| virtual uint32 | getThreadID () |
| returns the thread associated with this thread of execution | |
| virtual unsigned int | getOwningProcessID () |
| returns the process ID that this thread is part of | |
| virtual OSHandleID | getHandleID () |
| returns a handle ID for the thread. | |
| virtual bool | isActive () |
| virtual int | wait () |
| virtual int | wait (uint32 milliseconds) |
Static Public Member Functions | |
| static unsigned __stdcall | threadProc (void *param) |
Constructor & Destructor Documentation
|
||||||||||||
|
|
|
|
|
Member Function Documentation
|
|
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. |
|
|
returns the process ID that this thread is part of
Implements VCF::ThreadPeer. |
|
|
returns the thread associated with this thread of execution
Implements VCF::ThreadPeer. |
|
|
Implements VCF::ThreadPeer. |
|
|
causes the thread the thread to sleep for the specified number of milliseconds
Implements VCF::ThreadPeer. |
|
|
Starts (or resumes) a thread running.
Implements VCF::ThreadPeer. |
|
|
gracefully stops the thread and shuts it down, releasing any OS resources associated with the thread
Implements VCF::ThreadPeer. |
|
|
|
|
|
Implements VCF::ThreadPeer. |
|
|
Implements VCF::ThreadPeer. |
The documentation for this class was generated from the following file:
- vcf/FoundationKit/Win32Thread.h
