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
PacketsBuffer_s (src/PandarGeneralRaw/include/pandarGeneral/pandarGeneral_internal.h) is used for pushing by one thread and reading by another, without any synchronisation primitives such as mutex. It's very thread-unsafe and causes real problems, like #19 and #17
It has to be protected either internally (i.e. made multithread-safe) or externally (i.e. there should be a mutex getting locked every time there is any access to PacketsBuffer_s to read or write).
The text was updated successfully, but these errors were encountered:
PacketsBuffer_s
(src/PandarGeneralRaw/include/pandarGeneral/pandarGeneral_internal.h) is used for pushing by one thread and reading by another, without any synchronisation primitives such as mutex. It's very thread-unsafe and causes real problems, like #19 and #17It has to be protected either internally (i.e. made multithread-safe) or externally (i.e. there should be a mutex getting locked every time there is any access to
PacketsBuffer_s
to read or write).The text was updated successfully, but these errors were encountered: