// All waits for the next queue update, then returns the names of all
// jobs in the queue. Used by checkLsfQueueForOrphans().
All waits for the next queue update, then returns the names of all
jobs in the queue. Used by checkLsfQueueForOrphans().
// All waits for the next queue update then returns the names of all // jobs in the queue . Used by checkLsfQueueForOrphans () .
func (q *lsfqueue) All() []string {
	latest := q.getNext()
	names := make([]string, 0, len(latest))
	for name := range latest {
		names = append(names, name)
	}
	return names
}
func ( q * lsfqueue ) All ( ) [ ] string { latest := q . getNext ( ) names := make ( [ ] string , 0 , len ( latest ) ) for name := range latest { names = append ( names , name ) } return names }
All waits for the next queue update, then returns the names of all
jobs in the queue.
All waits for the next queue update then returns the names of all jobs in the queue .