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
If I want a ring-buffer for the multi-producer multi-consumer case, and I protect access to the buffer with a mutex, am I correct that fake_tso should be true in the constructor and otherwise the defaults are correct?
Perhaps add this to the readme? I saw someone else asked about an exception in the MPMC case.
Thanks!
The text was updated successfully, but these errors were encountered:
fake_tso is optimizaation for cases where the actual hardware (or effective useage) is defacto TSO but architecturally it's still WMO. Like single core microcontrollers.
Mutex should work, of course not as effective as proper MPMC.
If I want a ring-buffer for the multi-producer multi-consumer case, and I protect access to the buffer with a mutex, am I correct that fake_tso should be true in the constructor and otherwise the defaults are correct?
Perhaps add this to the readme? I saw someone else asked about an exception in the MPMC case.
Thanks!
The text was updated successfully, but these errors were encountered: