You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run the .show() function from a different process to make the tcp server continue to process streaming data.
Is there any way you could think of that I could render the WS2812 and put new data in at "the same time."?
Ofcourse with locking the strip object when showing or changing data.
The text was updated successfully, but these errors were encountered:
timkoers
changed the title
Is it multiprocess safe?
Could .show() be used on a 'render' thread/process
Sep 4, 2018
The library is not thread safe. Since the locking mechanism is really specific to the application and its needs, it's left to the user to implement. Unfortunately, double buffering is also something that this library doesn't do, but this seems like something that could be added in the core library to avoid copying. Maybe something along the lines of passing a array pointer to the show command for processing.
I am trying to run the .show() function from a different process to make the tcp server continue to process streaming data.
Is there any way you could think of that I could render the WS2812 and put new data in at "the same time."?
Ofcourse with locking the strip object when showing or changing data.
The text was updated successfully, but these errors were encountered: