Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is Piccolo thread-safe?

piccolo thread-safe
0
Posted

Is Piccolo thread-safe?

0

No. Piccolo is not thread-safe. Piccolo has been designed from the start to run only in a single thread (usually the event dispatch thread). This constrains the way Piccolo applications can be built, but we feel that overall, it increases usability by simplifying code, and eliminating thread-debugging issues. Of course, you can still build multi-threaded applications. The key is to invoke any updates on the main event dispatch thread.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.