#include "RakMemoryOverride.h"
#include "DS_Queue.h"
#include "SimpleMutex.h"
#include "Export.h"
#include "RakThread.h"
#include "SignaledEvent.h"
#include "ThreadPool.h"
#include "RakSleep.h"
#include <unistd.h>
Go to the source code of this file.
Classes | |
class | ThreadDataInterface |
struct | ThreadPool< InputType, OutputType > |
Functions | |
if (threadPool->perThreadDataFactory) perThreadData = threadPool->threadDataInterface->PerThreadFactory(threadPool->tdiContext) | |
threadPool numThreadsRunningMutex | Lock () |
threadPool numThreadsRunningMutex | Unlock () |
while (1) | |
Variables | |
bool | returnOutput |
ThreadPool< ThreadInputType, ThreadOutputType > * | threadPool = (ThreadPool<ThreadInputType, ThreadOutputType>*) arguments |
ThreadOutputType(* | userCallback )(ThreadInputType, bool *, void *) = 0 |
ThreadInputType | inputData |
ThreadOutputType | callbackOutput |
void * | perThreadData = 0 |
threadPool | numThreadsRunning |
else threadPool | tdiContext |
return |
else if | ( | threadPool-> | perThreadDataFactory | ) | = threadPool->threadDataInterface->PerThreadFactory(threadPool->tdiContext) |
threadPool numThreadsRunningMutex Lock | ( | ) |
threadPool numThreadsRunningMutex Unlock | ( | ) |
while | ( | 1 | ) |
ThreadOutputType callbackOutput |
Definition at line 207 of file ThreadPool.h.
ThreadInputType inputData |
Definition at line 206 of file ThreadPool.h.
Definition at line 221 of file ThreadPool.h.
else perThreadData = 0 |
Definition at line 211 of file ThreadPool.h.
Definition at line 281 of file ThreadPool.h.
bool returnOutput |
Definition at line 203 of file ThreadPool.h.
else threadPool tdiContext |
Definition at line 279 of file ThreadPool.h.
ThreadPool<ThreadInputType, ThreadOutputType>* threadPool = (ThreadPool<ThreadInputType, ThreadOutputType>*) arguments |
Definition at line 204 of file ThreadPool.h.
userCallback = 0 |
Definition at line 205 of file ThreadPool.h.