Parallel Algorithm And Multithreading Models