Git Product home page Git Product logo

Comments (4)

kisvegabor avatar kisvegabor commented on June 1, 2024 1

Hi,

Just to be sure I understand correctly: in a demo or example we should create a few mutexes and threads with printf-s to demonstrate that OS layer is working well.

If so, I think it should be rather an example which could be also a good starting point for anyone using LVGL with an OS. (E.g. show that lv_timer_handler needs to be protected by a mutex). I can imagine something like this:

  1. We have the main thread in which a button is create
  2. A new thread is created, which creates a label, and waits for a signal
  3. When the button is pressed, a signal is triggered, and the other thread increments a counter and updates the label.

Besides the example - as you have mentioned - there should be a test too at least for pthread, but I think it's simpler as we can write any complicated code.

from lvgl.

faxe1008 avatar faxe1008 commented on June 1, 2024 1

Hey @kisvegabor 😃, no worries. Maybe I'll find some time to work on this :^)

from lvgl.

lvgl-bot avatar lvgl-bot commented on June 1, 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.

kisvegabor avatar kisvegabor commented on June 1, 2024

Sorry for not responding. GitHub doesn't send notification about reactions and I didn't notice the 👍

We will work on it!

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.