initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#ifndef HYDRATASKBARRIER
|
||||
#define HYDRATASKBARRIER
|
||||
|
||||
#include "../engine/HydraObject.h"
|
||||
#include <vector>
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
|
||||
class CLASS_DEFINE HydraTaskBarrier : public HydraObject
|
||||
{
|
||||
private:
|
||||
|
||||
|
||||
protected:
|
||||
public:
|
||||
int reference_count = 0;
|
||||
HydraID barrier_id = INVALID_HYDRA_ID;
|
||||
std::vector<HydraID> task_ids;
|
||||
bool waiting = false;
|
||||
|
||||
};
|
||||
#endif /* HYDRATASKBARRIER */
|
||||
Reference in New Issue
Block a user