Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Threads and Properties

Status
Not open for further replies.

vanhell

Programmer
Jan 28, 2002
15
0
0
AT
Hi!

How many Threads can I max have in a Programm?
And how can I declare properties?

thx
vanHell
 
There is no practical limit that I am aware of. I've written a port scanner that launches hundreds of thread and it runs fine. At some point, however, there are diminishing returns and the addition of more threads doesn't help speed things up.

To add properties to the System:

System.getProperties.put("propname", "propvalue");
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top