* @brief Initialize the user object lock for a lightweight process * * @param[in,out] lwp The lightweight process structure whose object lock needs initialization */
| 397 | * @param[in,out] lwp The lightweight process structure whose object lock needs initialization |
| 398 | */ |
| 399 | void lwp_user_object_lock_init(struct rt_lwp *lwp) |
| 400 | { |
| 401 | rt_mutex_init(&lwp->object_mutex, "lwp_obj", RT_IPC_FLAG_PRIO); |
| 402 | } |
| 403 | |
| 404 | /** |
| 405 | * @brief Destroy the user object lock for a lightweight process |
no test coverage detected