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();
}
}
}
/ *