Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
PeriodicSingleThreadExecutor.h File Reference
#include <Common/config.h>
#include <Common/primitive_type.h>
#include <atomic>
#include <vector>
#include <functional>
#include <thread>
#include <mutex>
#include <condition_variable>

Go to the source code of this file.

Classes

class  ph::PeriodicSingleThreadExecutor
 A single-thread executor that runs specified works periodically. The executor can be used concurrently, namely, it is thread-safe. However, the user must ensure that the pool is properly initialized before subsequent usages. More...
 

Namespaces

namespace  ph
 The root for all renderer implementations.