Queue scheduling method and device based on linked list
A queue scheduling and linked list technology, applied in the field of queue scheduling, can solve problems such as FIFO overflow, non-reflection, and unfair dequeue
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0032] The basic idea of the present invention is: set the address number of queuing linked list according to the number of queues, make the address number of queuing linked list not less than the number of queues, then set different queuing sub-linked lists by the priority of queue in queuing linked list, queue enters pair , select the corresponding queuing sub-link list according to the priority of the queue, and before adding it into the queuing sub-link list, judge whether the queue has been queued in the queuing sub-link list, if it is queued, it will not be added to the queuing sub-link list, otherwise it will be added. When scheduling, select the non-empty queuing sub-link list with the highest priority in the queuing linked list, start from the head of the linked list, and perform queue scheduling according to the pointer of the linked list. After the queue scheduling in the selected non-empty queuing sub-linked list is completed, select the second The non-empty queui...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 