Search:

Type: Posts; User: kernel_klink

Search: Search took 0.09 seconds.

  1. Replies
    5
    Views
    1,593

    Re: How to notify() and proceed past wait()

    Yes, I know it's synchronized, thanks. Yes, the println printed from within the condition immediately following the wait(), but the coverage report indicates that neither of the branches for...
  2. Replies
    5
    Views
    1,593

    Re: How to notify() and proceed past wait()

    I know from the Emma code coverage report that the code in run() executes up until the first wait(), then it hangs. I'm not sure why the invocation of switchOn() in the runPathsTest() fails to...
  3. Replies
    5
    Views
    1,593

    How to notify() and proceed past wait()

    So I'm writing a JUnit test suite for a Runnable object, but for some reason the thread hangs at wait() within run() after a notify() is invoked by test.

    Here's the code for the test Suite:


    ...
Results 1 to 3 of 3