Sponsored Content
Full Discussion: Parallel process in java
Top Forums Programming Parallel process in java Post 302639785 by chercheur857 on Sunday 13th of May 2012 07:29:15 AM
Old 05-13-2012
Parallel process in java

Hello;

Quote:
Thread thread = new Thread("New Thread") {
public void run(){
//instruction
}
};
Thread thread1 = new Thread("New Thread1") {
public void run(){
//instruction1
}
};
thread.start();
thread1.start();
Please Are both threads execute in parallel?
Thank you
 

We Also Found This Discussion For You

1. Shell Programming and Scripting

Monitoring processes in parallel and process log file after process exits

I am writing a script to kick off a process to gather logs on multiple nodes in parallel using "&". These processes create individual log files. Which I would like to filter and convert in CSV format after they are complete. I am facing following issues: 1. Monitor all Processes parallelly.... (5 Replies)
Discussion started by: shunya
5 Replies
All times are GMT -4. The time now is 07:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy