FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
OMEexecQueue.cpp File Reference
#include <stdio.h>
#include <OMEdebugInfo.h>
#include <OMEexecQueue.h>
#include <OMEevent.h>
#include <OMEioEvents.h>
#include <OMEcore.h>
#include <utils/base/atomic_values.h>
#include <utils/logging/logging_api.hpp>

Macros

#define THIS_COMPONENT   app
 
#define INCREMENT_COUNTER32_BY(v, amt)
 
#define THREAD_REQUEST_COUNT   1
 
#define MIN_WORK_FOR_MULTI_DEFAULT   3
 
#define MAX_PARALLEL_WORK_UNITS   100
 
#define MIN_PARALLEL_WORK_UNITS   4
 

Functions

void OMEstopLoiterThreads ()
 
uint_fast32_t OMEwaitForThreadsToStop (uint_fast32_t maxWaitTime)
 Request loiter threads to terminate and wait for them to terminate. More...
 
void OMEinitializeOIL2threadQueue (const int cpuCount, const int multiThreshold)
 
int OMEexecuteOIL2threads (const uint_fast32_t count)
 
void OMEqueueOIL2thread (OMEthread *t)
 
int OMEterminateThreadsOnObject (const OMEobject *obj)
 
int OMEshutdown (OMEthread *thread, OMEtype &result)
 OIL2 interface routine to request shutdown of FARGOS/VISTA Object Management Environment via OMErequestShutdown(). More...
 

Macro Definition Documentation

◆ INCREMENT_COUNTER32_BY

#define INCREMENT_COUNTER32_BY (   v,
  amt 
)
Value:
do { uint32_t *ptr = v.getAddress(); \
atomicIncrement_uint32(ptr, amt); } while (0)

◆ MAX_PARALLEL_WORK_UNITS

#define MAX_PARALLEL_WORK_UNITS   100

◆ MIN_PARALLEL_WORK_UNITS

#define MIN_PARALLEL_WORK_UNITS   4

◆ MIN_WORK_FOR_MULTI_DEFAULT

#define MIN_WORK_FOR_MULTI_DEFAULT   3

◆ THIS_COMPONENT

#define THIS_COMPONENT   app

◆ THREAD_REQUEST_COUNT

#define THREAD_REQUEST_COUNT   1

Function Documentation

◆ OMEstopLoiterThreads()

void OMEstopLoiterThreads ( )
Generated: Fri Jul 31 2020 18:19:15
Support Information