I know that but I think it's unrelated because the symptoms appear after the task is done. Whatever, I will try to invoke sleep into "invokeAndBlock"...
On Tuesday, October 25, 2016 at 4:43:25 AM UTC+2, Shai Almog wrote: > > @gareth that's unrelated. I suggest listing the code at the root of the > stack trace. > > When you run a separate thread you are effectively occupying the CPU even > in a multi-core machine. If a thread does a heavy task it will slow down > the entire system so you need to sprinkle it with calls to sleep to prevent > it from taking up all the CPU. > > FYI this is true for native it's not something unique to Codename One. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f1f09f64-9823-4dc0-a34c-902573ebc213%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
