enum rgpot::Reentrancy

Overview

How a potential tolerates concurrent evaluation. More…

#include <pot_caps.hpp>
 
enum Reentrancy {
    SharedInstance,
    PerInstance,
    ProcessSerial,
};

Detailed Documentation

How a potential tolerates concurrent evaluation.

Enum Values

SharedInstance

One instance may be called from many threads concurrently.

PerInstance

Concurrent evaluation needs one instance per thread (per-instance native handles or scratch state).

ProcessSerial

Global or COMMON-block state: all evaluations in the process must be serialized regardless of instance count.