Here we queue several processes.
Because the scheduler has not yet been running, all of them are still queued for evaluation.
To demonstrate how it works, we invoke the scheduler by hand.
Now some processes are running on the available processors; some may already have finished.
invokes the scheduler until all processes are finished and returns their results. Note that the priorities are not used with the default queue type, see the section The Scheduler
Here several processes are queued showing how the queue grows in size.
invokes the scheduler which sends queued jobs to idle processors, collects results, and hands them back to the application.