[concurrency-interest] Await...Signal - CatchingIllegalMonitorStateException???

David Harrigan dharrigan at gmail.com
Wed Oct 25 04:24:54 EDT 2006


Thanks Tim,

I will do take (another :-)) look at the chapter.

-d=avid=-

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
> complete.
>
> --tim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/attachments/20061025/77c8ad2c/attachment.html 


More information about the Concurrency-interest mailing list