-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
Hey,
thank you for the port!
I was comparing to java version, and feels MultProducerSequencer.setAvailable() has different visibility properties?
void setAvailableBufferValue(std::int32_t index, std::int32_t flag)
{
m_availableBuffer[index] = flag;
} private void setAvailableBufferValue(final int index, final int flag)
{
AVAILABLE_ARRAY.setRelease(availableBuffer, index, flag);
}setRelease (the docs say) is roughly equivalent to m_atomic_int.store(..., std::memory_order_release);
the cpp version does not have the release memory semantics? I cant see why its not needed in c++ version, do you know?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels