Modify tid and pid from int to pid_t
[platform/core/api/resource.git] / include / cpu-boosting.h
index e705d76..c62a20c 100644 (file)
@@ -99,7 +99,7 @@ int resource_get_cpu_boosting_level (resource_pid_t pid, cpu_boosting_level_info
  *
  * @return 0 on success, otherwise a negative error value.
  */
-int resource_set_cpu_inheritance (int source_tid, const char *dest_process, int timeout_msec);
+int resource_set_cpu_inheritance (pid_t source_tid, const char *dest_process, int timeout_msec);
 
 /**
  * @brief Clear cpu resource inheritance from the source tid to the destination process (pid/tids).
@@ -112,7 +112,7 @@ int resource_set_cpu_inheritance (int source_tid, const char *dest_process, int
  *
  * @return 0 on success, otherwise a negative error value.
  */
-int resource_clear_cpu_inheritance (int source_tid, const char *dest_process);
+int resource_clear_cpu_inheritance (pid_t source_tid, const char *dest_process);
 
 /**
  * @brief Register a destination process (pid/tids) for cpu resource inheritance.