From 7ecf913256fb396e3027aac3318d996a716a52ef Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Oct 2021 23:29:21 +0800 Subject: + job system --- Runtime/Threading/Job.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Runtime/Threading/Job.cpp (limited to 'Runtime/Threading/Job.cpp') diff --git a/Runtime/Threading/Job.cpp b/Runtime/Threading/Job.cpp new file mode 100644 index 0000000..18794c5 --- /dev/null +++ b/Runtime/Threading/Job.cpp @@ -0,0 +1,13 @@ +#include "Job.h" +#include "Runtime/Utilities/UIDGenerator.h" + +static UIDGenerator s_JobIDGenerator; + +Job::Job() + : m_ID(s_JobIDGenerator.GenUID()) +{ +} + +Job::~Job() +{ +} -- cgit v1.1-26-g67d0