private void putResource(ProcessControlBlock pcb) {
		int mutex = pcb.getMutex();
		boolean success = sharedMemory.push(mutex, 1); // 1 represents dummy data
		if (success) {
			//System.out.println("Value added to memory location " + mutex);
			// Seems like it has to update the consumer from BLOCKED to
			// READY
			pcbList.getconPCBbyMutex(mutex).setState(ProcessState.RUNNABLE);
		} else {
			blockPCB(pcb);

		}
	}