Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Best Way To Use Thread

 
rion mix
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1101
10
Java Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi rion,
Welcome to the Ranch!

You can start reading the tutorial on threads here
 
rion mix
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Everyone Thanks for the advice,

And i will try it...



Best Regards,
drion...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic