Add GetRenderThreadId()
[platform/core/uifw/dali-adaptor.git] / dali / internal / system / common / thread-controller.cpp
index 54633bd..b3874d2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -117,6 +117,11 @@ void ThreadController::AddSurface(Dali::RenderSurfaceInterface* newSurface)
   mThreadControllerInterface->AddSurface(newSurface);
 }
 
+int32_t ThreadController::GetThreadId() const
+{
+  return mThreadControllerInterface->GetThreadId();
+}
+
 } // namespace Adaptor
 
 } // namespace Internal