Skip to content

Conversation

@VzdornovNA88
Copy link
Contributor

Changes

  • This is hotfix, so there is no implementation of another lock-free queue for MPMC cases, it would require quite serious efforts in testing the correctness of the implementation, not only with unit tests, but also with formal proof, and I still do not see performance tests that would show a drop in performance if using a queue with locks.
  • it is necessary to rename LockFreeQueue to SPSCLockFreeQueue in order to protect users who may already be using this type in inappropriate cases, as well as for the future.
  • I started testing the queue, we can add other test options to cover more use cases, these may be random multithreaded API method calls, for example

Fixes #656

…afeQueue) because MPSC cases are in the isobus library
@VzdornovNA88 VzdornovNA88 force-pushed the hotfix/undefined_behavior_with_LockFreeQueue_in_isobus_lib branch from d8be0c7 to 30ba8a7 Compare January 3, 2026 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Undefined behavior with LockFreeQueue

1 participant