Is there any advantage of splitting a Display.callSerially() task into 
smaller subtasks or would all the queued serial runnable be executed into 
the next EDT frame anyway. 

For example if I have 

Display.callSerially(()->{A; B; C;});

would
  
Display.callSerially(()->{A;});

Display.callSerially(()->{B;});

Display.callSerially(()->{C;});

potentially be less heavy for the EDT (that could potentially differ the 
execution of B and C to next frames if A took too long)?


Also, when calling multiple Display.callSerially() can I be sure they would 
run in their call order (so A then B then C in my second example) or would 
it be random?

-- 
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 codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/4414f5a9-464e-4a80-b6cd-9f4292f0739c%40googlegroups.com.

Reply via email to