@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/c545387f-b1e8-478c-9234-b300e23bedc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to