ML 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 multithreaded 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 before multithreading 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 that 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 a lookahead to decide on single or multithreaded 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 that 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 a lookahead to decide on single or multithreaded startup.

Definition at line 35 of file mlMultiThreadedPageRequestProcessor.h.

◆ ML_HOST_START_SINGLETHREADED_TIMEOUT

#define ML_HOST_START_SINGLETHREADED_TIMEOUT   0.0005

Delay before multithreading is started (in seconds).

Definition at line 29 of file mlMultiThreadedPageRequestProcessor.h.