MeVisLab Toolbox Reference
mlMultiThreadedPageRequestProcessor.h File Reference
#include "mlInitSystemML.h"
#include "mlPageRequestProcessorBase.h"
#include "mlAtomicCounter.h"
#include "mlProcessingTimeLine.h"
#include "ThirdPartyWarningsDisable.h"
#include <boost/thread.hpp>
#include "ThirdPartyWarningsRestore.h"
#include <mlMutex.h>
#include <mlWaitCondition.h>

Go to the source code of this file.

Classes

class  ml::MultiThreadedPageRequestProcessor
 A multi-threaded processor that takes one or even multiple tile requests and can process them iteratively. More...
 

Namespaces

 ml
 Main documentation file for ML users and developers.
 

Macros

#define ML_HOST_START_SINGLETHREADED_TIMEOUT   0.0005
 delay after which multi-threading is started (in seconds) More...
 
#define ML_HOST_PAGEREQUEST_QUEUE_LIMIT   2
 number of allowed queue entries per thread, if there are more entries the producer thread waits More...
 
#define ML_HOST_PAGEREQUEST_PRODUCER_BATCH_SIZE   2
 number of queue entries which the producer thread creates in a batch More...
 
#define ML_HOST_START_SINGLETHREADED_PAGEREQUEST_LIMIT   10
 number of page requests that the host uses as lookahead to decide on single/multi-threaded startup More...
 
#define ML_HOST_MINIMAL_GUITHREAD_SLEEP_MS   10
 minimal time the gui thread is allowed to sleep while the other threads are working (in milliseconds) More...
 

Macro Definition Documentation

◆ ML_HOST_MINIMAL_GUITHREAD_SLEEP_MS

#define ML_HOST_MINIMAL_GUITHREAD_SLEEP_MS   10

minimal time the gui thread is allowed to sleep while the other threads are working (in milliseconds)

Definition at line 37 of file mlMultiThreadedPageRequestProcessor.h.

◆ ML_HOST_PAGEREQUEST_PRODUCER_BATCH_SIZE

#define ML_HOST_PAGEREQUEST_PRODUCER_BATCH_SIZE   2

number of queue entries which the producer thread creates in a batch

Definition at line 33 of file mlMultiThreadedPageRequestProcessor.h.

◆ ML_HOST_PAGEREQUEST_QUEUE_LIMIT

#define ML_HOST_PAGEREQUEST_QUEUE_LIMIT   2

number of allowed queue entries per thread, if there are more entries the producer thread waits

Definition at line 31 of file mlMultiThreadedPageRequestProcessor.h.

◆ ML_HOST_START_SINGLETHREADED_PAGEREQUEST_LIMIT

#define ML_HOST_START_SINGLETHREADED_PAGEREQUEST_LIMIT   10

number of page requests that the host uses as lookahead to decide on single/multi-threaded startup

Definition at line 35 of file mlMultiThreadedPageRequestProcessor.h.

◆ ML_HOST_START_SINGLETHREADED_TIMEOUT

#define ML_HOST_START_SINGLETHREADED_TIMEOUT   0.0005

delay after which multi-threading is started (in seconds)

Definition at line 29 of file mlMultiThreadedPageRequestProcessor.h.