public void run() {

		while (s >= 0) {

			ultimaEscritura(nombre);

			if (s == 0)

			{
				cont--;

				System.out.println(nombre + " - " + s + " - ultima escritura "
						+ IDanterior);

				System.out.println("ultima escritura " + nombre + " - " + cont
						+ "  Threads activos");

			}

			else {

				System.out.println(nombre + " - " + s + " - ultima escritura "
						+ IDanterior);

			}

			try {
				Thread.sleep(1000);

			}

			catch (InterruptedException interruptedException) {

				System.out
						.println("First Thread is interrupted when it is  sleeping"
								+ interruptedException);
			}
			s--;

		}

	}