mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 10:26:52 +08:00
param: comment what the lock is needed for
This commit is contained in:
@@ -157,7 +157,7 @@ static void param_set_used_internal(param_t param);
|
|||||||
|
|
||||||
static param_t param_find_internal(const char *name, bool notification);
|
static param_t param_find_internal(const char *name, bool notification);
|
||||||
|
|
||||||
static px4_sem_t param_sem;
|
static px4_sem_t param_sem; ///< this protects against concurrent access to param_values and param save
|
||||||
|
|
||||||
/** lock the parameter store */
|
/** lock the parameter store */
|
||||||
static void
|
static void
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ static void param_set_used_internal(param_t param);
|
|||||||
|
|
||||||
static param_t param_find_internal(const char *name, bool notification);
|
static param_t param_find_internal(const char *name, bool notification);
|
||||||
|
|
||||||
static px4_sem_t param_sem;
|
static px4_sem_t param_sem; ///< this protects against concurrent access to param_values and param save
|
||||||
|
|
||||||
/** lock the parameter store */
|
/** lock the parameter store */
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user