VCF::ThreadPeer Interface Reference
Basic Thread interface to wrap native thread OS calls. More...
#include <ThreadPeer.h>
Inheritance diagram for VCF::ThreadPeer:

Public Member Functions | |
| virtual | ~ThreadPeer () |
| virtual bool | start ()=0 |
| Starts (or resumes) a thread running. | |
| virtual void | stop ()=0 |
| gracefully stops the thread and shuts it down, releasing any OS resources associated with the thread | |
| virtual void | sleep (uint32 milliseconds)=0 |
| causes the thread the thread to sleep for the specified number of milliseconds | |
| virtual uint32 | getThreadID ()=0 |
| returns the thread associated with this thread of execution | |
| virtual uint32 | getOwningProcessID ()=0 |
| returns the process ID that this thread is part of | |
| virtual OSHandleID | getHandleID ()=0 |
| returns a handle ID for the thread. | |
| virtual bool | isActive ()=0 |
| virtual int | wait ()=0 |
| virtual int | wait (uint32 milliseconds)=0 |
Detailed Description
Basic Thread interface to wrap native thread OS calls.
- Author:
- Jim Crafton
- Version:
- 1.0
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 Implemented in VCF::OSXThread, VCF::PosixThread, and VCF::Win32Thread. |
|
|
returns the process ID that this thread is part of
Implemented in VCF::OSXThread, VCF::PosixThread, and VCF::Win32Thread. |
|
|
returns the thread associated with this thread of execution
Implemented in VCF::OSXThread, VCF::PosixThread, and VCF::Win32Thread. |
|
|
Implemented in VCF::OSXThread, VCF::PosixThread, and VCF::Win32Thread. |
|
|
causes the thread the thread to sleep for the specified number of milliseconds
Implemented in VCF::OSXThread, VCF::PosixThread, and VCF::Win32Thread. |
|
|
Starts (or resumes) a thread running.
Implemented in VCF::OSXThread, VCF::PosixThread, and VCF::Win32Thread. |
|
|
gracefully stops the thread and shuts it down, releasing any OS resources associated with the thread
Implemented in VCF::OSXThread, VCF::PosixThread, and VCF::Win32Thread. |
|
|
Implemented in VCF::OSXThread, VCF::PosixThread, and VCF::Win32Thread. |
|
|
Implemented in VCF::OSXThread, VCF::PosixThread, and VCF::Win32Thread. |
The documentation for this interface was generated from the following file:
- vcf/FoundationKit/ThreadPeer.h
