Whenever
Queue[] is called, a process is entered into a queue on the master kernel. The scheduler
QueueRun[] selects the first process in the queue as soon as a remote kernel is available. By choosing different queue implementations, you can specify which process should be considered the first one.
Parallel Computing Toolkit provides a number of queues that you can use, or you can write your own. Queues are implemented in packages that you can load as needed.
This is the current queue type (the default).
To use priority queues, for example, load the corresponding package,
then change the queue type.
Now you can generate processes with optional priorities.
Each queue type impelements the method
Normal[] to give a list of the queue's contents.
The scheduler will schedule jobs with higher priority first. The order of the results is not affected.
This resets the queue type to the default.