Skip to content

Latest commit

 

History

History
24 lines (12 loc) · 675 Bytes

README.md

File metadata and controls

24 lines (12 loc) · 675 Bytes

This was created for Concurrent computing assignment 2017 @ UoB

NOTE :: This implementation does NOT use or NEED malloc().

Heap data stucture : https://en.wikipedia.org/wiki/Heap_(data_structure)

Heap Sort : http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/Sorting/heapSort.htm

pid : process ID, this was used for a kernel so it can be replaced from pid to whatever value you want

you can change the values in the structure to what suits you

  1. the priority is what the heapify uses as comparisons

  2. pid is the related unique value for each heap node.

  3. priorityDef (priorDef) is similar to the priority value.

    THIS HAS NOT BEEN TESTED