trash/ninio-core 2/src/main/java/com/davfx/ninio/core/v4/Ninio.java
public Queue register(NinioPriority priority) {
		int i;
		synchronized (lock) {
			i = index;
			index++;
			if (index == THREADING) {
				index = 0;
			}
		}
		return internalQueues[priority.ordinal()][i].open();
	}
public Queue register(NinioPriority priority) {
		int i;
		synchronized (lock) {
			i = index;
			index++;
			if (index == THREADING) {
				index = 0;
			}
		}
		return internalQueues[priority.ordinal()][i].open();
	}
public Queue register ( NinioPriority priority ) { int i ; synchronized ( lock ) { i = index ; index ++ ; if ( index == THREADING ) { index = 0 ; } } return internalQueues [ priority . ordinal ( ) ] [ i ] . open ( ) ; }
/*
@Override
public void close() {
for (Queues[] q : internalQueues) {
for (Queues internalQueue : q) {
internalQueue.close();
}
}
}
/ *