| Thread blackbone::ProcessThreads::CreateNew |
( |
ptr_t |
threadProc, |
|
|
ptr_t |
arg, |
|
|
enum CreateThreadFlags |
flags = (CreateThreadFlags)0 |
|
) |
| |
Create the thread.
- Parameters
-
- Returns
- New thread object
| Thread * blackbone::ProcessThreads::get |
( |
DWORD |
id | ) |
|
Get thread by ID
- Parameters
-
- Returns
- Pointer to thread object, nullptr if failed
| std::vector< Thread > & blackbone::ProcessThreads::getAll |
( |
bool |
dontUpdate = false | ) |
|
Gets all process threads
- Parameters
-
| dontUpdate | Return already existing thread list |
- Returns
- Threads collection
| Thread * blackbone::ProcessThreads::getLeastExecuted |
( |
| ) |
|
Get least executed thread
- Returns
- Pointer to thread object, nullptr if failed
| Thread * blackbone::ProcessThreads::getMain |
( |
| ) |
|
Get main process thread
- Returns
- Pointer to thread object, nullptr if failed
| Thread * blackbone::ProcessThreads::getMostExecuted |
( |
| ) |
|
Get most executed thread
- Returns
- Pointer to thread object, nullptr if failed
| Thread * blackbone::ProcessThreads::getRandom |
( |
| ) |
|
Get random thread
- Returns
- Pointer to thread object, nullptr if failed
| BLACKBONE_API void blackbone::ProcessThreads::reset |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files:
- C:/Users/Ton/Documents/visual studio 2013/projects/blackbone/src/BlackBone/Process/Threads/Threads.h
- C:/Users/Ton/Documents/visual studio 2013/projects/blackbone/src/BlackBone/Process/Threads/Threads.cpp