func queueNamesChanged(names []string) bool {
	queueNamesL.RLock()
	curNames := queueNames
	queueNamesL.RUnlock()

	if len(curNames) != len(names) {
		return true
	}
	for i := range curNames {
		if curNames[i] != names[i] {
			return true
		}
	}
	return false
}
// Returns true if the given list of names is different than the active one
Returns true if the given list of names is different than the active one
// Returns true if the given list of names is different than the active one
func queueNamesChanged(names []string) bool {
	queueNamesL.RLock()
	curNames := queueNames
	queueNamesL.RUnlock()
	if len(curNames) != len(names) {
		return true
	}
	for i := range curNames {
		if curNames[i] != names[i] {
			return true
		}
	}
	return false
}
func queueNamesChanged ( names [ ] string ) bool { queueNamesL . RLock ( ) curNames := queueNames queueNamesL . RUnlock ( ) if len ( curNames ) != len ( names ) { return true } for i := range curNames { if curNames [ i ] != names [ i ] { return true } } return false }
Returns true if the given list of names is different than the active one
Returns true if the given list of names is different than the active one