[concurrency-interest] Request for feedback -- Bill/Brian/Cliff JavaOne talk

Peter Veentjer alarmnummer at gmail.com
Tue Apr 10 08:12:06 EDT 2007

> I can understand them, and see where they might be useful for
> somethings. The nice thing about the tick counter
> in MultithreadedTestCase is that it works very well for the case
> where you expect a thread to block and you want
> to verify that it does block.

I have created threads and runnable's that can be asked for the state
they are in, and how they have exited:

example usage:

BlockingThread waitThread = scheduleWait(somelock,somecondition);

Thread signalThread = scheduleNotify(somelock,somecondition);

And the joinAll method joins on thread with a timeout, so a unittest
won't stall indefinitely.

More information about the Concurrency-interest mailing list