Add GetRenderThreadId()
[platform/core/uifw/dali-adaptor.git] / dali / internal / adaptor / common / thread-controller-interface.h
index 1ab348a..7d81c1f 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_THREAD_CONTROLLER_INTERFACE_H
 
 /*
- * 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.
@@ -18,7 +18,9 @@
  *
  */
 
+// EXTERNAL INCLUDES
 #include <dali/public-api/signals/callback.h>
+#include <stdint.h>
 
 namespace Dali
 {
@@ -129,6 +131,12 @@ public:
    */
   virtual void AddSurface(Dali::RenderSurfaceInterface* surface) = 0;
 
+  /**
+   * @brief Gets the thread id.
+   * @return The thread id.
+   */
+  virtual int32_t GetThreadId() const = 0;
+
 protected:
   /**
    * Constructor