163164165166167168169170171172173
if ( ready ){ boolean progress = !is_ready_for_write; is_ready_for_write = true; EventWaiter ww = write_waiter; if ( ww != null ){ ww.eventOccurred(); } return progress; }else{ is_ready_for_write = false; return( false );
224225226227228229230231232233234
if ( ready ){ boolean progress = !is_ready_for_read; is_ready_for_read = true; EventWaiter rw = read_waiter; if ( rw != null ){ rw.eventOccurred(); } return progress; }else{ is_ready_for_read = false; return( false );