GeeCON Prague 2014*
The moose likes Threads and Synchronization and the fly likes Best Way To Use Thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Best Way To Use Thread" Watch "Best Way To Use Thread" New topic
Author

Best Way To Use Thread

rion mix
Greenhorn

Joined: Jun 11, 2013
Posts: 2
Hii Everyone,
im newbie for using "Thread"
can anyone tell me the best way to use it?
if i want to handle 150 proccess in 1 second... without overloading the CPU

sorry my english so bad
my best regards,
drion...
Inesh Hettiarachchi
Greenhorn

Joined: Feb 07, 2004
Posts: 25
Hi rion,

Try this one, it has a lot of info.
google concurrency and go through the java.util.concurrent API
better read and practice a lot before you do your real one, because threading can be tricky to start with.

http://www.vogella.com/articles/JavaConcurrency/article.html

Cheers,
Inesh.
Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1084
    
  10

Hi rion,
Welcome to the Ranch!

You can start reading the tutorial on threads here


Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
rion mix
Greenhorn

Joined: Jun 11, 2013
Posts: 2
Everyone Thanks for the advice,

And i will try it...



Best Regards,
drion...
 
GeeCON Prague 2014
 
subject: Best Way To Use Thread