Comments (4)
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:
- We have the main thread in which a button is create
- A new thread is created, which creates a label, and waits for a signal
- 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.
Hey @kisvegabor 😃, no worries. Maybe I'll find some time to work on this :^)
from lvgl.
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.
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)
- [scale] Be able to configure the part drawing order HOT 2
- LVGL Forum SPAMMER HOT 6
- Object Rotation for Binary Images HOT 5
- Incomplete implementation of lv_canvas_set_px() for indexed color format HOT 5
- The display will not receive the input event like press and release if a new screen is loaded. HOT 5
- Compilation error using PXP HOT 16
- Draw line using VG-Lite HOT 5
- Mosaic HOT 2
- Scrolling does not respect padding of parent. HOT 5
- Automatioc check for broken links in documentation HOT 4
- How to display Thai on the interface HOT 4
- Recoloring in V9 HOT 1
- ESP32 Rotate doesn't work HOT 3
- ESP32-3248S035C with GT911 touch chip, arduino demo compile error HOT 14
- How can LVGL be better used on wayland/ DRM-enabled SoCs?
- have the C++ version image convert tool and font generate tool? HOT 9
- lv_demo_widgets example in windows, get stuck and break! HOT 11
- Rotate Base object (lv_obj) v9 HOT 13
- Error: failed to map framebuffer device to memory: Invalid argument HOT 1
- LV_EVENT_CLICKED should only be fired if the release takes place over the same object where the press happened HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lvgl.