[concurrency-interest] Await...Signal - CatchingIllegalMonitorStateException???
dharrigan at gmail.com
Wed Oct 25 04:24:54 EDT 2006
I will do take (another :-)) look at the chapter.
On 10/24/06, Tim Peierls <tim at peierls.net> wrote:
> On 10/24/06, David Holmes <dcholmes at optusnet.com.au> wrote:
> > It seems like what you might have here is a use for FutureTask. Your
> > main thread will create the FutureTask and do a timed get() to wait for the
> > result. You pass the FutureTask to your parseThread and it does the actual
> > parsing and upon completion marks the Future task as done.
> Also take (another?) look at chapter 6 of JCiP, especially section 6.3,
> which has an extended example of an activity that waits for another to
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest