MCPcopy Index your code
hub / github.com/RT-Thread/rt-thread / lwp_user_object_lock_init

Function lwp_user_object_lock_init

components/lwp/lwp_pid.c:399–402  ·  view source on GitHub ↗

* @brief Initialize the user object lock for a lightweight process * * @param[in,out] lwp The lightweight process structure whose object lock needs initialization */

Source from the content-addressed store, hash-verified

397 * @param[in,out] lwp The lightweight process structure whose object lock needs initialization
398 */
399void 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

Callers 1

lwp_createFunction · 0.85

Calls 1

rt_mutex_initFunction · 0.85

Tested by

no test coverage detected