ever write a parallel processing program in java

@megaplaza (1441)
Nigeria
February 10, 2008 9:52am CST
have you ever write a parallel processing program in java that a single program that can run concurrently in a multiple processor.it diveded its task to the different processors hence making the compuation easier and saves time.
2 people like this
4 responses
@raghwagh (1527)
• India
13 Feb 08
Yes I have done this type of programs, they are called "multi threading" and Java supports multi threading. Also the platform on which your program is running should support multi threading. There are other progeamming languages also which support multithreading. In Java for making it able to run many processes parallelly we are required to create a thread (process) for each task and then manage the threads and multiple processes will run a same time thus making computation fast. This is a good feature of Java.
@megaplaza (1441)
• Nigeria
16 Feb 08
thanks for your comment, but it seems there are some language that are designed to be parallel processing in built like openMP.
@velant (107)
• India
7 Mar 08
I haven't tried it. but refer this link(http://java.sys-con.com/read/419716_2.htm) It may help you
@mr_mlk (364)
11 Feb 08
I have never written an application and takes a single task and breaks it down. But I have written plenty of applications that receive multiply tasks and processes them concurrently. What are you trying to do?
• United States
21 Feb 08
You are talking about a distributed programming model. This is not the same as multithreading. Almost any language that supports threading can do this. you can also do this with mpl.