1 Reply Latest reply on May 29, 2003 1:21 PM by john

    Race Condition with Messaging

    john Newbie

      There is a race condition with messaging. Basically the BasicQueue class is not exactly thread safe. I've outlined the problem in a bug report -
      [ 745527 ] race condition with BasicQueue

      I've also added a fix that remedies the issue and increases performance on my system by 30 - 40 percent

        • 1. Re: Race Condition with Messaging
          john Newbie

          I see that this bug has been closed and it's true that the latest code has the change but you over-killing with synchronization. Just synchronize on the method and you'll get much better performance. Not to mention you will reduce the complexity of the code (KISS)