Search:

Type: Posts; User: Json

Search: Search took 0.09 seconds.

  1. Replies
    4
    Views
    3,601

    [SOLVED] Re: Questions About Threads

    Its important to note that sleep is actually a method on the Thread class while wait is a method on the Object class. You tell a thread to wait for an object's notify to be called while sleep is just...
  2. Replies
    4
    Views
    3,601

    [SOLVED] Re: Questions About Threads

    First of all, when you call Thread.sleep(ms, ns) which btw is a static method, you sleep the currently running thread for the time specified. When using wait() you tell a thread to wait on a certain...
Results 1 to 2 of 2