Git Product home page Git Product logo

Comments (5)

kisvegabor avatar kisvegabor commented on June 5, 2024

Thank you for bringing this up. It really needs a better documentation. This page could be a good place for the additions.

Better documentation for what the LV_USE_OS flag is.

It enables the lv_mutex/thread/signal_*() functions. They are used during rendering to make LVGL yield the rendering task while it's waiting for a GPU or flushing. LV_USE_OS is also required for som GPU and for multi-core software rendering (each core has its own thread).

Does it make LVGL threadsafe?

No, it doesn't.

Do I need to call lv_task_handler?

Yes, you can do it anywhere and anyhow you want, but typically it's called in a task

If yes, do I need a mutex for it?

You need a mutex only if you call lv_* functions from an other thread too.

from lvgl.

mr-sven avatar mr-sven commented on June 5, 2024

I now pointed out the issue on #5515, but I don't know if this is the right approach to fix it.

from lvgl.

kisvegabor avatar kisvegabor commented on June 5, 2024

I now pointed out the issue on #5515, but I don't know if this is the right approach to fix it.

Probably I'm missing something but can't see how #5515 is related to this.

from lvgl.

lvgl-bot avatar lvgl-bot commented on June 5, 2024

We need some feedback on this issue.

Now we mark this as "stale" because there was no activity here for 14 days.

Remove the "stale" label or comment else this will be closed in 7 days.

from lvgl.

lvgl-bot avatar lvgl-bot commented on June 5, 2024

As there was no activity here for a while we close this issue. But don't worry, the conversation is still here and you can get back to it at any time.

So feel free to comment if you have remarks or ideas on this topic.

from lvgl.

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.