[ 
https://issues.apache.org/activemq/browse/AMQNET-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Fraire updated AMQNET-113:
--------------------------------

    Attachment: TestResetEvent.cs

Here are a couple of tests that evaluate the behavior of ManualResetEvents and 
AutoResetEvents.

> DispatchingThread.EventHandle is an AutoResetEvent potentially shared between 
> threads
> -------------------------------------------------------------------------------------
>
>                 Key: AMQNET-113
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-113
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ Client
>    Affects Versions: 1.0
>            Reporter: Chris Fraire
>            Assignee: Jim Gomes
>            Priority: Minor
>             Fix For: 1.1
>
>         Attachments: TestResetEvent.cs
>
>
> Not sure it is an actual problem, but it seems suspect that a Session's 
> DispatchingThread.EventHandle (AutoResetEvent) instance is associated with a 
> MessageConsumer's Dispatcher when a Listener is attached.  Since the 
> EventHandle is an AutoResetEvent, it is possible that a DispatchingThread 
> will miss a signal got instead by Dispatcher.Dequeue(Timespan).  Is the 
> correct behavior that they both be signaled?
> Thanks,
> Chris

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to