Lines Matching defs:handle
158 * @brief Submits a task with a specified attribute to this queue, and obtains a task handle.
162 * @return Returns a non-null task handle if the task is submitted;
173 * @brief Submits a task with a specified attribute to this queue, and obtains a task handle.
177 * @return Returns a non-null task handle if the task is submitted;
191 * @param handle Indicates a task handle.
197 inline int cancel(const task_handle& handle)
199 return ffrt_queue_cancel(handle);
205 * @param handle Indicates a task handle.
209 inline void wait(const task_handle& handle)
211 return ffrt_queue_wait(handle);