This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

thread

 
Syamsul Hussin
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, is the value of x in Thread.sleep(x) is in seconds or miliseconds ? Thanks.
 
Dirk Schreckmann
Sheriff
Posts: 7023
 
David Weitzman
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An important resource every Java programmer should be familiar with is the Official API documentation.
The information you are looking for can be found under java.lang.Thread
Many people choose to keep a local copy for speedy access.
[ February 25, 2003: Message edited by: David Weitzman ]
 
Syamsul Hussin
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks, just wondering how big is the API? (how many mb?)
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just follow the links. It's 32,765,641 bytes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic