* @brief Unlock the user object lock for a lightweight process * * @param[in,out] lwp The lightweight process structure whose object lock needs unlocking */
| 434 | * @param[in,out] lwp The lightweight process structure whose object lock needs unlocking |
| 435 | */ |
| 436 | void lwp_user_object_unlock(struct rt_lwp *lwp) |
| 437 | { |
| 438 | if (lwp) |
| 439 | { |
| 440 | rt_mutex_release(&lwp->object_mutex); |
| 441 | } |
| 442 | else |
| 443 | { |
| 444 | RT_ASSERT(0); |
| 445 | } |
| 446 | } |
| 447 | |
| 448 | /** |
| 449 | * @brief Add an object to the user object list of a lightweight process |
no test coverage detected