wait until all write operations are completed so that the data is readable . concode_field_sep CLEvent[] EMPTY_EVENTS concode_elem_sep List<Listener> listeners concode_elem_sep List<CLEvent> readEvents concode_elem_sep CLEvent lastWriteEvent concode_field_sep void writing concode_elem_sep CLEvent clearEvents concode_elem_sep CLEvent perform concode_elem_sep void reading concode_elem_sep void removeListener concode_elem_sep CLEvent performRead concode_elem_sep void performRead concode_elem_sep CLEvent performWrite concode_elem_sep void waitFor concode_elem_sep void addListener
void function ( ) { CLEvent . waitFor ( lastWriteEvent ) ; lastWriteEvent = null ; }