public void push(int id) {
		lock.lock();
		try {
			while (count == max) {
				System.out.println("仓库已满");
				try {
					notFull.await();
				} catch (InterruptedException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			}
			store.addFirst(id);
			System.out.println("生产：" + id);
			count++;
			notEmpty.signal();
		} finally {
			lock.unlock();
		}
	}