public synchronized Object receive() {
		while (writable) {
			try {
				wait();
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
			// Wait here until writable becomes false.
			// Note, the message is readable if and only if
			// it is not writable.
		}
		;
		writable = true;
		notify();
		return (local);
	}