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
Describe the bug
Per discussion at the Jan. 6, 2020 CCB, @jphickey suggested that the timeout parameter should be int32, not uint32. This should be changed.
Unless there is a good reason to "hide" OSAL definitions here (and I can't think of a good reason, because everything already depends on osapi.h anyway), I'd rather simplify and just make it so we have:
Right now we use the same underlying values but redefine them, so to be correct/safe the ReadQueue needs to translate. With them defined this way we still have symbol independence (so SB can diverge from OSAL if it needs to, though I don't know why it would). Then the ReadQueue function doesn't need to translate this value, so long as it shares the same definition.
Actually, just assign this one to me. As I'm going through code looking for race conditions in issue #1073 the entire design of CFE_SB_ReadQueue() is broken - it is accessing PipeDscPtr without the SB lock. I will replace this with something that works.
Describe the bug
Per discussion at the Jan. 6, 2020 CCB, @jphickey suggested that the timeout parameter should be int32, not uint32. This should be changed.
See also #1063
Reporter Info
Christopher.D.Knight@nasa.gov
The text was updated successfully, but these errors were encountered: