Mutli-threaded array

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hala adnan
    New Member
    • Dec 2022
    • 1

    Mutli-threaded array

    You have an array on N size with random numbers. Write a multithreaded program that performs the following operations on this array:

    Thread 1 sorts the even numbers

    Thread 2 sorts the odd numbers

    Thread 3 merg the results (even number in the top part of the array).
  • dev7060
    Recognized Expert Contributor
    • Mar 2017
    • 656

    #2
    You have an array on N size with random numbers. Write a multithreaded program that performs the following operations on this array:

    Thread 1 sorts the even numbers

    Thread 2 sorts the odd numbers

    Thread 3 merg the results (even number in the top part of the array).
    What have you done so far?

    Comment

    Working...