資源簡介
動態設置進程優先級,并設有延時函數
while(head!=NULL)
{
Output(&head);
DeleteQueue(&head,&curr);
curr.runtime--;
curr.privilege++;
if(curr.runtime!=0)
{
InsertQueue(&head,curr);
}
}
}
代碼片段和文件信息
評論
共有 條評論