optional priority (nice level) parameter; implemented in terms of a priority queue