Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified RunnableHandler to process runnables FIFO #194

Open
wants to merge 1 commit into
base: GLES2
Choose a base branch
from

Commits on Jan 3, 2013

  1. Modified RunnableHandler to process runnables FIFO

    Contrary to the expectations of every Handler, I found that the RunnableHandler processes runnables in a LIFO (stack-like fashion).  
    
    The correct approach is to process them in order and then clear the list, as I've done here.  This not only processes the items in FIFO order as expected, it also avoids any overhead of trying to remove the first element of the ArrayList.
    sjb933 committed Jan 3, 2013
    Configuration menu
    Copy the full SHA
    0691b6d View commit details
    Browse the repository at this point in the history