* @brief Wakes up processes waiting for a child process status change * * @param[in] parent Parent process to notify * @param[in] self_lwp Child process that triggered the wakeup * * @return rt_err_t Returns RT_EOK on success * * @note Uses wait queue to notify parent process about child status changes */
| 1350 | * @note Uses wait queue to notify parent process about child status changes |
| 1351 | */ |
| 1352 | rt_err_t lwp_waitpid_kick(rt_lwp_t parent, rt_lwp_t self_lwp) |
| 1353 | { |
| 1354 | /* waker provide the message mainly through its lwp_status */ |
| 1355 | rt_wqueue_wakeup(&parent->waitpid_waiters, self_lwp); |
| 1356 | return RT_EOK; |
| 1357 | } |
| 1358 | |
| 1359 | /** |
| 1360 | * @brief Waitpid handle structure for process status change notifications |
no test coverage detected