Code Monkey home page Code Monkey logo

Comments (4)

FlorianReimold avatar FlorianReimold commented on September 26, 2024 1
  • Yes, I am referring to the SHM Multibuffering feature that works as a ring buffer
  • Yes, memory files are protected while writing
  • Multi Buffering feature creates multiple SHM files that are used one after another. This works perfectly when you always write the entire message to it. If you however only write a parts of the message, the second SHM file will not automatically reflect the changes you made before.

In the currently unreleased dev version, this bug exists, as we have added the Zerocopy publishing feature. It didn't exist in 5.11, as that version didn't have the Zero Copy publishing.

You can learn more about the Multi Buffering feature in the Documentation:
https://eclipse-ecal.github.io/ecal/advanced/layers/shm.html#multi-buffering-mode-optional

from ecal.

FlorianReimold avatar FlorianReimold commented on September 26, 2024 1

Yes, you can use that branch. Or, if you want a more precise git tag, you can use the rc.1tag directly:
https://github.com/eclipse-ecal/ecal/releases/tag/v5.12.0-rc.1

from ecal.

chengguizi avatar chengguizi commented on September 26, 2024

Hi @FlorianReimold I don't quite get the issue. Do your 3 buffers mean the three slots in the ring buffer?

If yes, when we are still writing to the first slot, from the publisher, isn't the slot protected from any readings from subscriber? Only when that slot of data is fully populated, then it is released for reading.

Yes, I do want to get more insights to multibuffering / ring buffer.

from ecal.

chengguizi avatar chengguizi commented on September 26, 2024

Yes for sure! I saw the 5.12 is already in RC stage, which means API freeze. We would like to start trying on our development builds!
Would this be the branch to try? https://github.com/eclipse-ecal/ecal/tree/support/v5.12

from ecal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.