ReadersEntry function ( ) { final AtomicInteger loc0 = new AtomicInteger ( STATE_NOT_READING ) ; final ReadersEntry loc1 = new ReadersEntry ( loc0 ) ; entry . set ( loc1 ) ; readersStateList . add ( loc0 ) ; readersStateArrayRef . set ( null ) ; return loc1 ; }
creates a new readersentry instance for the current thread and its associated atomicinteger to store the state of the reader concode_field_sep int STATE_READING concode_elem_sep ThreadLocal<ReadersEntry> entry concode_elem_sep boolean isStampLocked concode_elem_sep AtomicInteger[] dummyArray concode_elem_sep AtomicReference<AtomicInteger[]> readersStateArrayRef concode_elem_sep AtomicInteger state concode_elem_sep int STATE_NOT_READING concode_elem_sep ConcurrentLinkedQueue<AtomicInteger> readersStateList concode_field_sep void arrive concode_elem_sep boolean isEmpty concode_elem_sep void finalize concode_elem_sep void removeState concode_elem_sep void depart