Search:

Type: Posts; User: helloworld922

Search: Search took 0.08 seconds.

  1. Replies
    3
    Views
    2,866

    Re: wait(), sleep() and notify()

    Looks like it should work in theory, though it doesn't look it acquires/holds the lock during any useful operations other than to use wait/notify. This might work because you may not have any need...
  2. Replies
    3
    Views
    2,866

    Re: wait(), sleep() and notify()

    wait() and notify() are mechanisms for synchronization. They're used differently than sleep, who's use in a multi-threaded application is discouraged because the thread doesn't actually release any...
Results 1 to 2 of 2