diff options
author | chai <chaifix@163.com> | 2021-10-25 23:29:21 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-25 23:29:21 +0800 |
commit | 7ecf913256fb396e3027aac3318d996a716a52ef (patch) | |
tree | 4540835c881a63b665e2a692bf30115fd29e8bb0 /Runtime/Threading/Job.cpp | |
parent | 0816cd70ca1a213b6ed872bcf3c0bf0912473722 (diff) |
+ job system
Diffstat (limited to 'Runtime/Threading/Job.cpp')
-rw-r--r-- | Runtime/Threading/Job.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
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() +{ +} |