Skip to content

nirnicole/MultiThreaded-MergeSort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiThreaded-MergeSort

school project merge-sort using multiple threads.

#Using:

  • executor: to maintain a fixed number of threads concurrently.

  • notify() and wait(): costume controller implementation of a low level API replacement for join()

  • mutex: to lock the shared pool(array list of temp int arrays)

you can see while looping that the loop is fixed to O(log N) rounds and each one of them can iterate on n items at most. O(N log N) complexity.

enjoy!

About

School project Merge-Sort using multiple threads

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages