Code example for Lock

Methods: newCondition

0
	int locSampler;
	 
	public HashMap<Integer, Integer> textureIDs = new HashMap<Integer, Integer>();
	public String renderCommand;
	public Lock renderLock = new ReentrantLock();
	public Condition renderedCondition = renderLock.newCondition();
	public boolean rendered = true;
	 
	public interface IBatch { 
		public void run(); 
		 
		public boolean isQuads(); 
	} 
	 
	public class BatchUpdateModelView implements IBatch { 
		float[] m;
		 
		public BatchUpdateModelView(float[] m_) {
			m = m_.clone();
		}