void function ( ) { int loc0 = compute ( ) ; mCounterLocked . incrementAndGet ( ) ; mCount . update ( loc0 ) ; }
locks the counter to the current value . changes to the value , resulting from changes to the inputs , will not be reflected by #get or bepropagated to callbacks until a matching call to #unfreeze . concode_field_sep ConcurrentState<Integer> mCount concode_elem_sep AtomicInteger mCounterLocked concode_elem_sep List<Observable<Integer>> mInputs concode_field_sep int compute concode_elem_sep Integer get concode_elem_sep void unfreeze concode_elem_sep SafeCloseable addCallback