check to see if any scheduled events are ready to be processed . concode_field_sep long NANOS_PER_MILLI concode_elem_sep int MAX_POOL_SIZE concode_elem_sep FastEventQueue mEventPool concode_elem_sep SchedulableEvent mNext concode_elem_sep SchedulableEvent mLast concode_elem_sep long mTimestamp concode_elem_sep SortedMap<Long,FastEventQueue> mEventBuffer concode_elem_sep long mEventsRemoved concode_elem_sep Object lock concode_elem_sep SchedulableEvent mFirst concode_elem_sep long mEventsAdded concode_field_sep void add concode_elem_sep void add concode_elem_sep SchedulableEvent removeNextEventLocked concode_elem_sep int size concode_elem_sep long getTimestamp concode_elem_sep void addEventToPool concode_elem_sep SchedulableEvent removeEventfromPool concode_elem_sep SchedulableEvent waitNextEvent concode_elem_sep SchedulableEvent remove concode_elem_sep void setTimestamp
SchedulableEvent function ( long arg0 ) { SchedulableEvent loc0 = null ; synchronized ( lock ) { if ( ! mEventBuffer . isEmpty ( ) ) { long loc1 = mEventBuffer . firstKey ( ) ; if ( loc1 <= arg0 ) { loc0 = removeNextEventLocked ( loc1 ) ; } } } return loc0 ; }