* @brief Get current number of tasks in the executor * @note * 1. This method will only be called after 'Initialize' and before 'Shutdown'. * 2. Executor should return the number of unexecuted tasks. * 3. This is an optional interface that may return 0 when the executor does not implement it. * * @return size_t */
| 83 | * @return size_t |
| 84 | */ |
| 85 | virtual size_t CurrentTaskNum() noexcept { return 0; } |
| 86 | }; |
| 87 | |
| 88 | } // namespace aimrt::runtime::core::executor |
nothing calls this directly
no outgoing calls
no test coverage detected