You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are not thread-safe accesses to the m_XX_YY_Throttle variable, and so could result in dangerous behavior if two threads try to log the same event. Likely the best fix is to make m_XX_YY_Throttle atomic, and barring that, to add a lock around reads/writes to it.
Context / Environment
Execute fprime-util version-check and share the output.
Problem Description
Adding
throttle X
to an event (in this example, ("YY_ZZ") generates the following code:These are not thread-safe accesses to the
m_XX_YY_Throttle
variable, and so could result in dangerous behavior if two threads try to log the same event. Likely the best fix is to makem_XX_YY_Throttle
atomic, and barring that, to add a lock around reads/writes to it.Context / Environment
Execute
fprime-util version-check
and share the output.The text was updated successfully, but these errors were encountered: