I want to sort an array using multiple syncronized threads. For example I want to use at least 2 threads to sort the array and another thread to show me at some moments the situation of sorting. Some ideas please?
-
2THe idea here would be: Write some code and ask us if you have specific problems.bmargulies– bmargulies2010-11-21 18:41:32 +00:00Commented Nov 21, 2010 at 18:41
-
Two synchronized Threads are equal to one Thread. Isn't it?Martijn Courteaux– Martijn Courteaux2010-11-21 18:47:36 +00:00Commented Nov 21, 2010 at 18:47
-
@Martijn, no. You can think of two synchronized threads as two threads which have no race conditions.aioobe– aioobe2010-11-21 19:17:32 +00:00Commented Nov 21, 2010 at 19:17
Add a comment
|