users@grizzly.java.net

Re: Grizzly & Comet concurrency issue

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 28 Apr 2009 11:11:13 -0400

FredrikJ wrote:
>
> Jeanfrancois Arcand-2 wrote:
>> Gustav: I will go ahead and file an issue as we must try detect that
>> situation.
>>
>> Fredrick: I'm looking at the issue now.
>>
>> Thanks
>>
>> -- Jeanfrancois
>>
>
> Thanks! I am not depending on this, but it might be a bit non-intuitive for
> a user. I made the assumption that when the
> 'cometContext.addCometHandler(handler);' returned, then the handler and
> context was ready for use. Obviously a bad assumption, but a rather easy one
> to make I think =)

Exactly. At least we need to better document the code. I will also log a
warning so it makes the experience better.

Thanks!

-- Jeanfrancois