activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <jira+amq...@apache.org>
Subject [jira] [Closed] (AMQNET-518) lock(this.mutex)
Date Tue, 15 Mar 2016 14:23:33 GMT

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

Timothy Bish closed AMQNET-518.
-------------------------------
    Resolution: Not A Problem

Does not represent a bug.  

> lock(this.mutex)
> ----------------
>
>                 Key: AMQNET-518
>                 URL: https://issues.apache.org/jira/browse/AMQNET-518
>             Project: ActiveMQ .Net
>          Issue Type: Wish
>          Components: ActiveMQ, NMS
>            Reporter: Artem Elkin
>            Assignee: Jim Gomes
>            Priority: Trivial
>
> Found in
> http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.7.x/src/main/csharp/Util/FifoMessageDispatchChannel.cs?view=markup
> and in some other places:
> private readonly Mutex mutex = new Mutex();
> ...
> lock(this.mutex)
> ...
> Monitor.PulseAll(this.mutex);
> ...
> etc.
> Guys, do you really know .Net? ;-D
> Monitor and lock (which uses Monitor internally) work for any reference type instances.
Please change the field type to object and change the name too. This is misleading now.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message