for (;;)
{
if (MostImportantJob) continue;
...
if (NextToLeastImportantJob) continue;
LeastImportantJob();
}