-// public synchronized void stopWrite(int thread) {
-//
-// session.clientChanges = new ClientChangesImpl(session);
-//
-// WriteState<?> state = session.writeState;
-//
-// System.err.println("D");
-// state.finish();
-// System.err.println("E");
-//
-// session.writeState = null;
-//
-// }
-