summaryrefslogtreecommitdiff
path: root/Client/Source/Threading/Job.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-12-13 00:07:19 +0800
committerchai <chaifix@163.com>2021-12-13 00:07:19 +0800
commit60cbbdec07ab7a5636eac5b3c024ae44e937f4d4 (patch)
treeb2c7b0a868f18159dbc43d8954e1bd7668549a88 /Client/Source/Threading/Job.cpp
+init
Diffstat (limited to 'Client/Source/Threading/Job.cpp')
-rw-r--r--Client/Source/Threading/Job.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/Client/Source/Threading/Job.cpp b/Client/Source/Threading/Job.cpp
new file mode 100644
index 0000000..3bfdb4d
--- /dev/null
+++ b/Client/Source/Threading/Job.cpp
@@ -0,0 +1,13 @@
+#include "Job.h"
+#include "../Utilities/UIDGenerator.h"
+
+static UIDGenerator s_JobIDGenerator;
+
+Job::Job()
+ : m_ID(s_JobIDGenerator.GenUID())
+{
+}
+
+Job::~Job()
+{
+}