Skip to content

Code for a heap system without malloc() based on priority values, used for Concurrent Computing 2016 UoB

Notifications You must be signed in to change notification settings

sunnyMiglani/heapCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Code for a heap system without malloc() based on priority values, used for Concurrent Computing 2016 UoB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published