returns first affected agent or null if none . concode_field_sep LockFreePool<Distribution> POOL concode_elem_sep int mSpins concode_elem_sep int TX_SWEEP_DIST_FLAG concode_elem_sep SubMatrix[] subs concode_elem_sep int NEXT concode_elem_sep AgentProcessor[] processors concode_elem_sep RecordBuffer removeBuffer concode_elem_sep int prevAffected concode_elem_sep int ENABLED_SNAPSHOT_MODE_DIST_FLAG concode_elem_sep int UPDATED_RECORD_DIST_FLAG concode_elem_sep int numberBlocked concode_elem_sep AgentIterator agentIterator concode_elem_sep RecordCounters mOutgoingRecords concode_elem_sep int numberAffected concode_elem_sep ProcessVersionTracker processVersionTracker concode_elem_sep int N_INTS concode_elem_sep int UPDATED_SNIP_DIST_FLAG concode_elem_sep Agent[] sharedAgents concode_elem_sep int firstBlocked concode_elem_sep int PAYLOAD2 concode_elem_sep int mPrevSize concode_elem_sep int DEC_PENDING_COUNT_DIST_FLAG concode_elem_sep int sizeThreshold concode_elem_sep int TX_END_DIST_FLAG concode_elem_sep int HAD_SNAPSHOT_DIST_FLAG concode_elem_sep int PAYLOAD1 concode_elem_sep Agent[] agents concode_elem_sep int N_AGENT_PROCESSORS concode_elem_sep int[] tails concode_elem_sep int[] lists concode_elem_sep int size concode_elem_sep int[] nextAffected concode_elem_sep int curProcessVersion concode_elem_sep RecordCounters mIncomingRecords concode_elem_sep int NEXT_MASK concode_elem_sep int[] subModCounts concode_elem_sep int[] heads concode_field_sep RecordBuffer getRemoveBuffer concode_elem_sep void countSpins concode_elem_sep int getMaxAgentNumber concode_elem_sep void enqueueBlocked concode_elem_sep SubMatrix getSub concode_elem_sep void release concode_elem_sep void trackProcessVersion concode_elem_sep void addFlagsToLastAdded concode_elem_sep int nextIndex concode_elem_sep void block concode_elem_sep boolean isDuplicate concode_elem_sep void addNewAgent concode_elem_sep Agent add concode_elem_sep Agent add concode_elem_sep int getPayload2 concode_elem_sep int getCurProcessVersion concode_elem_sep int getPayload1 concode_elem_sep void start concode_elem_sep void clear concode_elem_sep void prepareCounters concode_elem_sep void countIncomingRecord concode_elem_sep void done concode_elem_sep boolean hasBlocked concode_elem_sep AgentProcessor getProcessor concode_elem_sep Agent nextAgent concode_elem_sep int firstIndex concode_elem_sep int size concode_elem_sep Agent removeAgent concode_elem_sep void flushAndClearCounters concode_elem_sep long getPayloadLong concode_elem_sep Distribution getInstance concode_elem_sep int getSubModCount concode_elem_sep int getFlags concode_elem_sep AgentIterator getAgentIterator concode_elem_sep boolean hasCapacity concode_elem_sep int numberOfAgents
Agent function ( ) { prevAffected = 0 ; return agents [ nextAffected [ prevAffected ] ] ; }