Check if the surfarce rect is changed
[platform/core/uifw/dali-core.git] / dali / internal / common / fixed-size-memory-pool.h
index 4389106..a3317ed 100644 (file)
@@ -81,12 +81,26 @@ public:
   void* Allocate();
 
   /**
+   * @brief Thread-safe version of Allocate()
+   *
+   * @return Return the newly allocated memory
+   */
+  void* AllocateThreadSafe();
+
+  /**
    * @brief Delete a block of memory for the allocation that has been allocated by this memory pool
    *
    * @param memory The memory to be deleted. Must have been allocated by this memory pool
    */
   void Free( void* memory );
 
+  /**
+   * @brief Thread-safe version of Free()
+   *
+   * @param memory The memory to be deleted. Must have been allocated by this memory pool
+   */
+  void FreeThreadSafe( void* memory );
+
 private:
 
   // Undefined